MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    UNSOLVED Resize frame of monitor screen to fit mirror dimensions

    Troubleshooting
    3
    3
    659
    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.
    • J
      Jacob66 last edited by

      The size of monitor screen is slightly larger than the frame of my mirror, this means that part of the text is cut off by the frame. Is there a way (other than just zooming in or out) that I can shrink the display size? Or have it only run on part of the screen?

      broberg 1 Reply Last reply Reply Quote 0
      • broberg
        broberg Project Sponsor @Jacob66 last edited by

        @Jacob66 Adjust the margin in css

        body {
          margin: 100px;
          height: calc(100% - 200px);
          width: calc(100% - 200px);
        }
        
        

        Add that to your custom.css file

        when you adjust the margin remember to remove double that on the height and width.

        1 Reply Last reply Reply Quote 0
        • T
          tcsabina last edited by

          I think the RPi itself can also draw a ‘black frame’. Search for the term “overlay”. It is a setting in the /boot/config.txt of RPi sdcard.

          But probably the css modification above is more elegant…

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