• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

Module is changing width of position

Scheduled Pinned Locked Moved General Discussion
5 Posts 3 Posters 589 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.
  • D Offline
    DDE12
    last edited by Nov 14, 2022, 6:34 PM

    I installed MMM-FlipClock and it has changed the width of the top_center. How do I prevent this and possibly adjust the aspect of the FlipClock itself?

    Big clock.png

    K 1 Reply Last reply Nov 15, 2022, 12:19 PM Reply Quote 0
    • K Offline
      KamiSchami @DDE12
      last edited by Nov 15, 2022, 12:19 PM

      @DDE12

      Custom CSS

      .MMM-FlipClock {
      transform:scale(0.5);
      }

      Real programmers never work 9 to 5. If they are around at 9 AM, it's because they were up all night.

      D 1 Reply Last reply Nov 16, 2022, 2:16 AM Reply Quote 0
      • D Offline
        DDE12 @KamiSchami
        last edited by Nov 16, 2022, 2:16 AM

        @KamiSchami
        Thank you for looking at this. It shrank the clock down within the space that it was in but it has still enlarged the fuel module. Why is it doing that? I just want it to be in the same place that the default clock was and not change the size of other modules.
        Clock size 02.PNG

        B 1 Reply Last reply Nov 16, 2022, 7:24 AM Reply Quote 0
        • B Online
          BKeyport Module Developer @DDE12
          last edited by Nov 16, 2022, 7:24 AM

          @DDE12

          Instead of transforming it smaller, try adjusting it via direct font sizing.

          .tick-flip, .tick-text-inline {
          	font-size: 3em;
          }
          

          (default is 5em)

          The module itself does not set a size, so this should shrink up the region. If it does set it to a value that you’d like, and to make the region lock in at a maximum width:

          .region.top.center {
               max-width: ###px
          }
          

          I used this for a long time to set all center regions to 325px wide:

          .region.center {
          	min-width: 325px;
          	max-width: 325px; 
          }
          

          The "E" in "Javascript" stands for "Easy"

          D 1 Reply Last reply Nov 17, 2022, 3:23 AM Reply Quote 0
          • D Offline
            DDE12 @BKeyport
            last edited by Nov 17, 2022, 3:23 AM

            @BKeyport
            That works great! Thank you!

            1 Reply Last reply Reply Quote 2
            • 1 / 1
            1 / 1
            • First post
              3/5
              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