Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Neat! Thanks for sharing.

>Note: This visualization was designed for screens larger than 1024 x 1024 and for desktop-style interactions.

Why am I getting this warning on my 4K UHD display? Both Firefox 89 and Chrome 91 on Ubuntu.



Because I am terrible at making CSS do what I want, unfortunately.

Seriously, though, I think I do some type of aspect ratio check - maybe that's the culprit.


Ah, so not sure how you're checking, but it looks like your thresholds might be just too aggressive: it looks like my window.innerHeight < 1024 [1] and that's probably triggering the warning.

[1]: https://developer.mozilla.org/en-US/docs/Web/API/Window/inne...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: