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.

    Resize frame of monitor screen to fit mirror dimensions

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    3 Posts 3 Posters 1.2k Views 2 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.
    • J Offline
      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?

      brobergB 1 Reply Last reply Reply Quote 0
      • brobergB Offline
        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 Offline
          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 Sam, technical setup by Karsten.
          This forum is using NodeBB as its core | Contributors
          Contact | Privacy Policy