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.

    Need help resizing in vertical orientation

    Scheduled Pinned Locked Moved Troubleshooting
    36 Posts 3 Posters 10.1k 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.
    • S Offline
      sdetweil
      last edited by

      and here is upper right , you can reduce the margin value…

      Screenshot at 2021-03-24 18-09-10.png

      its content will push things around… the regions are flexible, so they stretch to accomodate the content

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      M 1 Reply Last reply Reply Quote 0
      • M Offline
        Matthewlawson3 @sdetweil
        last edited by Matthewlawson3

        @sdetweil ok. Interesting you don’t have the same issue with top left. Could it be because I have MMM Tools above the calendar? Whereas yours seems to have the calendar above MMM TOOLS . Also, the clock module on mine is top center.

        S 2 Replies Last reply Reply Quote 0
        • S Offline
          sdetweil @Matthewlawson3
          last edited by

          @matthewlawson3 yes, I can try flopping them around in the morning

          Sam

          How to add modules

          learning how to use browser developers window for css changes

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

            @matthewlawson3 said in Need help resizing in vertical orientation:

            Do I need to use the developer window in any way to help fix this?

            probably

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            M 1 Reply Last reply Reply Quote 0
            • M Offline
              Matthewlawson3 @sdetweil
              last edited by Matthewlawson3

              @sdetweil ok. If you could check that that would be great.

              I appreciate your help on this. Like I said, till I can get this figured out I have disabled MMM Tools. But I would like to get it fixed.

              S M 2 Replies Last reply Reply Quote 0
              • S Offline
                sdetweil @Matthewlawson3
                last edited by

                @matthewlawson3 looks ok
                Screenshot at 2021-03-24 22-20-42.png

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • M Offline
                  Matthewlawson3 @Matthewlawson3
                  last edited by Matthewlawson3

                  @matthewlawson3

                  Hmm. I have 10 entries in the calendar with a total of 40 characters per line allowed. And clock is centered at the top with top center position whereas my calendar and MMM TOOLS are both set to top left with calendar below MMM TOOLS. Maybe all that is doing something. Idk.

                  Maybe I need to uninstall and and use git clone to reinstall MMM TOOLS and see what happens then.

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    Matthewlawson3 @sdetweil
                    last edited by

                    @sdetweil how do I reduce MMM TOOLS margin value?

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

                      @matthewlawson3 is it the tools margin or the mirror margin?

                      u can reduce the mirror margin, by changing the body margins from 60px to something smaller (even 0, altho that will allow the module content to be RIGHT against the edge)

                      whatever u change it to, you also have to adjust the fullscreen definition
                      it has 120px, which is 2 times 60 (top & bottom, or left and right)
                      this should be a calculation in my opinion… but I haven’t added it to any pull request

                      u can reset this in custom.css

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

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

                        @Matthewlawson3
                        edit the MMM-Tools/MMM-Tools.css and add in the .Tools section at the top

                        background-color: blue

                        like this

                        .Tools {
                          display: flex;
                          flex-direction: column;
                          justify-content: flex-start;
                          font-size:0.5em;
                          line-height:1em;
                          color:#EEE; 
                          background-color: blue;
                        }
                        

                        now you can see its space consumption

                        Screenshot at 2021-03-25 14-26-47.png

                        the left space is border, the top space is border and top bar I think

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        M 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 3 / 4
                        • 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