MagicMirror² v2.12.0 is available! For more information about this release, check out this topic.

Adjust border size



  • I have managed to acquire a 1600x900 monitor for my first project which is ambling along. However, with such a low res monitor, screen real estate is at a premium and to that end I was wondering if there was some way of adjusting the blank borders around the outside of the display?


  • Project Sponsor

    Im main.css you can change the margin, heightand width under ‚body’ as you need. Here are my values I adjusted. The default values are commented.

    
    body {
      /* margin: 60px; */
      margin: 5px; 
      position: absolute;
      /*height: calc(100% - 120px);
      width: calc(100% - 120px);*/
      height: calc(100% - 10px);
      width: calc(100% - 10px);
    
    


  • @Fozi Thank you


Log in to reply