saml-dev / MMM-Traffic

This a module for the MagicMirror. It displays travel time between two locations, using the Mapbox directions API to factor in current traffic conditions.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Font Size & Spacing

fmmcyyc opened this issue · comments

Hi I am having a rough time to reduce the font size and line spacing for this module. Any help would be appreciated..

Hi there, I haven't built in any ways to change those things. Is there a common way you do that in other modules or your mirror?

I usually add this within the custom.css file and it will work:
.newsfeed .medium {
font-size: 16px;
line-height: 16px;
}

But it does not for your module.. So sorry to just dump all these issues on you. But I love this module.

@fmmcyyc More good news, custom styles are officially supported! Check out the styles section of the README to see the classes and an example. Let me know if you see any issues. Thanks for the suggestion!

https://github.com/SamLewis0602/MMM-Traffic#styling