Read the statement by Michael Teeuw here.
Messed up CSS between Portrait and Landscape monitors
-
-
@Damian Does this work?
.module.compliments { font-size: 73%; }
-
Unfortunatley not ā¹
I am now at a loss as to what to try now as this is first time trying MM on Landscape, and I am not liking it at all because I am unsure how to minimise the modulesā¦ a simple Zoom out would be perfect as my screen looks like its 100% zoomed in.š£ -
@Damian Use the built-in DOM inspector to see what styles are currently applied. Right-click on the compliments module and select āInspectā.
Worst case, using
!important
should work:.module.compliments { font-size: 73% !important; }
-
Nope, that never worked eitherš£
I cannot fathom out what is going on, even when I first loaded up the default MM it all looked too big. Thats why I then added in my config.js and CSS stuff from my Pi foders to see if they would help minimise things any.
-
@Damian Inspect the element, and share a screenshot of the
div.module.compliments
element styles. At this point, either (1) your CSS is not being applied, or (2) those arenāt the right classes to use to target that element. I suspect the latter. -
Thanks, but do I download something onto the Pc to view? How do i inspect the element? There is nothing on that page to download, so how does the Dom inspector work?
-
@Damian You donāt need to download anything. Use your mouse on the MagicMirror. Right-click the compliments module, and select āInspect elementā. Or, stop MM, then run
npm start dev
which will start in development mode with Chromiumās developer tools already open. You then just need to navigate the DOM to find the.compliments
element. Follow these instructions to take a screenshot on an RPi. -
šā¦ by pure fluke I just found the very setting I was looking for, and never even knew it was there, or even noticed it until now when instead of my usual > alt > File > Exitā¦ or >Window > Minimise, my mouse flicked on View, and there right in front of me was Zoom In - Zoom Out!
Only trouble is if I restart/reload MM it reverts back, and I have to zoom out again x 6 so it looks goodā¦ anyone know how to set it so it stays at my set zoom?
Thanks to all who assisted here to try and solve thisā¦ I will now sneak off in embarrasmentš¶
-
@Damian I was hoping you wouldnāt have to resort to it, but you can use CSS
transform: scale()
:body { transform: scale(0.8); /* for 80% */ }
Some CSS transforms are processor intensive, although without animation should be fine on an RPi.