MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.24.0 is available! For more information about this release, check out this topic.

    Module widths

    Development
    4
    11
    7269
    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
      ruckus09 last edited by

      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
      • cowboysdude
        cowboysdude Module Developer last edited by cowboysdude

        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 Reply Quote 0
        • E
          E3V3A last edited by

          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
            ruckus09 @cowboysdude last edited by

            @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 Reply Quote 0
            • E
              E3V3A @ruckus09 last edited by

              @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 Reply Quote 0
              • R
                ruckus09 @E3V3A last edited by

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

                Albinolan 1 Reply Last reply Reply Quote 0
                • cowboysdude
                  cowboysdude Module Developer last edited by

                  Do a search for custom css on the forums 😉

                  R 1 Reply Last reply Reply Quote 0
                  • Albinolan
                    Albinolan @ruckus09 last edited by

                    @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 Reply Quote 0
                    • R
                      ruckus09 @cowboysdude last edited by

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

                      cowboysdude 1 Reply Last reply Reply Quote 1
                      • R
                        ruckus09 @Albinolan last edited by

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