MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    Spacing on forecast for weather module?

    Custom CSS
    2
    2
    121
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      junkmale last edited by

      I changed the tableClass for the weather module - I’m using both the “MMM-OpenweatherMap” and the “weather” modules - and my line spacing (the “leading?”; the space between the lines) is huge, regardless of what tableClass I use. I notice in the example photo that the spacing is huge there, too.

      I messed with the line-height in main.css on the .xsmall style, but that doesn’t seem to impact what’s going on here.

      I’m all for people learning and solving their own problems, but I’m perplexed on this, and maybe - since the example photo shows the same thing - this just isn’t addressable yet? Can somebody buy me a vowel, here?

      Thanks!

      S 1 Reply Last reply Reply Quote 0
      • S
        sdetweil @junkmale last edited by sdetweil

        @junkmale tableClass is the link to the custom.css values for styling

        .weather .(tableClass name u picked)  {
             font-size:
             color:
             ... etc
        }
        

        if u don’t have any info in custom.css for that classname(you picked), you get nothing different than the module provided (if any)

        oh… don’t ever edit our files… it will break upgrades… (or any module provided file)

        ALL CSS goes in custom.css
        ALL config goes in config.js

        Sam

        Create a working config
        How to add modules

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post
        Enjoying MagicMirror? Please consider a donation!
        MagicMirror created by Michael Teeuw.
        Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
        This forum is using NodeBB as its core | Contributors
        Contact | Privacy Policy