New UI in Opera and Edge messing with media queries (render window no longer full width of display)
A media query of
min-width: 1920px
will now fail because the innerWidth
in these browsers is no longer 1,920 pixels on a 1080p display. Same story with 2,560 pixels on a 1440p display.
I've tested this in all popular browsers on my monitor (set to 1440p), and the only browsers that behave as expected are Chrome and Firefox as they don't have stupid 2-pixel (Opera) or 8-pixel (Edge) gaps on the left and right of the webpage rendering window.
https://dylricho.top/retrieve-window-innerwidth-for-css-media-query/
Has anyone else encoutered this?0 Replies