MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    How to set Font in Alarm Clock

    Scheduled Pinned Locked Moved Troubleshooting
    13 Posts 4 Posters 8.0k Views 3 Watching
    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.
    • brobergB Offline
      broberg Project Sponsor @morozgrafix
      last edited by broberg

      @morozgrafix I actually tried changing the font-size in the .js file, but no go, still the size is unaffected,
      adding !important to font-size works

      Edit, it works when you change the correct line. sorry my mistake, so we can conclude that it is as morozgrafix says, the inline style overwrites the css files.
      So a quick fix would be to just use !important in the css

      And Then someone can make a pull request on the default module to remove the inline styles and add it to the css file instead

      morozgrafixM 1 Reply Last reply Reply Quote 1
      • brobergB Offline
        broberg Project Sponsor
        last edited by

        @morozgrafix was totally right, edited my post above

        1 Reply Last reply Reply Quote 1
        • morozgrafixM Offline
          morozgrafix Moderator @broberg
          last edited by

          @broberg I agree with you and think that getting rid of those inline styles is the best long term solution

          1 Reply Last reply Reply Quote 0
          • 1
          • 2
          • 2 / 2
          • First post
            Last post
          Enjoying MagicMirror? Please consider a donation!
          MagicMirror created by Michael Teeuw.
          Forum managed by Sam, technical setup by Karsten.
          This forum is using NodeBB as its core | Contributors
          Contact | Privacy Policy