News for hackers. Stuff that matters.
Re:Show HN: An interactive visual history of Git development by uhoh-itsmaciek on Wednesday June 30, 2021 @12:47PM (#27690711)
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.

Re:Show HN: An interactive visual history of Git development by jwpalmer6 on Wednesday June 30, 2021 @12:51PM (#27690751)
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.

Re:Show HN: An interactive visual history of Git development by uhoh-itsmaciek on Wednesday June 30, 2021 @01:02PM (#27690867)
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...