• 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 widths

Scheduled Pinned Locked Moved Development
11 Posts 4 Posters 9.6k Views 4 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.
  • R Offline
    ruckus09
    last edited by Mar 4, 2018, 12:27 AM

    my two modules (The Crypto-Currency and the Calendar)
    Are overlapping slightly. I’ve been trying to edit the CSS to fix the widths but nothing that I’ve tried is working. Can anyone point me in the right direction?
    0_1520122887509_magic mirror.PNG

    1 Reply Last reply Reply Quote 1
    • C Offline
      cowboysdude Module Developer
      last edited by cowboysdude Mar 4, 2018, 1:20 AM Mar 4, 2018, 1:19 AM

      add to custom.css

      .MMM-Crypto-Currency {
      width: 200px; //or max-width: 200px;
      }

      Make sure the name of the module I put there is right and adjust your width to whatever you want…

      R 1 Reply Last reply Mar 4, 2018, 4:58 PM Reply Quote 0
      • E Offline
        E3V3A
        last edited by Mar 4, 2018, 9:02 AM

        I have a similar problem.

        • What (where) are the various module positions widths set to be?
        • How do they depend on the screen width?

        It would be useful to have the picture diagram of the module positions and their height/width settings somewhere. Perhaps someone already have this? If so lets add it to the development wiki.

        "Everything I do (here) is for free – altruism is the way!"
        MMM-FlightsAbove, MMM-Tabulator, MMM-Assistant (co-maintainer)

        1 Reply Last reply Reply Quote 0
        • R Offline
          ruckus09 @cowboysdude
          last edited by Mar 4, 2018, 4:58 PM

          @cowboysdude Thanks but unfortunately that didnt help. What ended up happening is that before the data loads the width of the header would be 200px. I even changed it to 100px just to make sure it was changing which it was. But as soon as the data loads then it pushes it back out and looks just like the screen shot up top.

          E 1 Reply Last reply Mar 4, 2018, 5:25 PM Reply Quote 0
          • E Offline
            E3V3A @ruckus09
            last edited by Mar 4, 2018, 5:25 PM

            @ruckus09 I don’t remember where, but I’ve seen MM code around that does some kind of calculations for the width and height. That is usually great on normal layouts, but when people start rotating their screens and using non-common resolution, things get tricky.
            I hope you can find a solution.

            "Everything I do (here) is for free – altruism is the way!"
            MMM-FlightsAbove, MMM-Tabulator, MMM-Assistant (co-maintainer)

            R 1 Reply Last reply Mar 5, 2018, 1:36 AM Reply Quote 0
            • R Offline
              ruckus09 @E3V3A
              last edited by Mar 5, 2018, 1:36 AM

              @E3V3A Yea, I get that. By any chance would you know how I would limit how many rows displayed in the calendar?

              A 1 Reply Last reply Mar 5, 2018, 11:28 PM Reply Quote 0
              • C Offline
                cowboysdude Module Developer
                last edited by Mar 5, 2018, 2:44 AM

                Do a search for custom css on the forums ;)

                R 1 Reply Last reply Mar 6, 2018, 12:37 PM Reply Quote 0
                • A Offline
                  Albinolan @ruckus09
                  last edited by Mar 5, 2018, 11:28 PM

                  @ruckus09 yeah, its one of the options in the config, called “maximumEntries” it defaults to 10 but can be change from 0-100 within the config

                  R 1 Reply Last reply Mar 6, 2018, 12:43 PM Reply Quote 0
                  • R Offline
                    ruckus09 @cowboysdude
                    last edited by Mar 6, 2018, 12:37 PM

                    @cowboysdude HAHA I suppose that is better than asking random people questions on the internet lol. Thanks a lot though!!

                    C 1 Reply Last reply Mar 6, 2018, 10:26 PM Reply Quote 1
                    • R Offline
                      ruckus09 @Albinolan
                      last edited by Mar 6, 2018, 12:43 PM

                      @Albinolan I literally JUST figured that out like 20 minutes ago lol. But thanks so much!

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