News for hackers. Stuff that matters.
Re:Neutralinojs – Build lightweight cross-platform desktop a... by r3trohack3r on Wednesday April 26, 2023 @09:58AM (#35713737)
There are a few inconsistencies between modern browsers left, but in my day-to-day so far the fixes have been quick and straightforward.

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.

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.