Re:Neutralinojs – Build lightweight cross-platform desktop a...
by hell_monkeyo on Wednesday April 26, 2023 @11:31AM
(#35715341)
The new svh (smallest vertical height) units will help you with that problem on mobile, Firefox will require a fallback vh though.
The only exception is 100vw and 100vh. On desktop, building an “app” that fills the screen with a header on top and a footer on bottom, this works great. On some mobile browsers, it places the footer below the browsers navbar because the navbar is not subtracted from the pages height.
I’ve had a heck of a time working around this in css, particularly because the fix for mobile seems to break desktop chrome.
But compared to even a decade ago, this is nirvana.