News for hackers. Stuff that matters.
Re:Just because I have a vertical screen doesn’t mean I’m on... by freebreakfast on Tuesday February 02, 2021 @11:23AM (#26002901)
> The author's proposed solution is for sites to use DPI instead

This is untenable as well. You'll end up with microscopic websites on high DPI phone screens.

Re:Just because I have a vertical screen doesn’t mean I’m on... by mywittyname on Tuesday February 02, 2021 @12:09PM (#26003573)
This should result in the website knowing that the screen is 7" inches (dots-per-inch / dots = inches) across and setting the style for small devices.
Re:Just because I have a vertical screen doesn’t mean I’m on... by freebreakfast on Tuesday February 02, 2021 @12:26PM (#26003784)
This requires the use of JavaScript to style a website.
Re:Just because I have a vertical screen doesn’t mean I’m on... by mywittyname on Tuesday February 02, 2021 @01:46PM (#26004880)
Is that really an issue? Javascript is basically universally supported on the web.

Users with NoScript will just have to live without some functionality. I'm sure they are used to that already, since a large fraction of websites use JS for styling. (I use NoScript)

Re:Just because I have a vertical screen doesn’t mean I’m on... by freebreakfast on Tuesday February 02, 2021 @04:41PM (#26007184)
> Is that really an issue?

Setting aside the debate about separation of concerns. Yes, it has notable performance and UX implications.

> Users with NoScript will just have to live without some functionality.

Why should we prioritize OP's use case over that of NoScript users?

Re:Just because I have a vertical screen doesn’t mean I’m on... by ss64 on Tuesday February 02, 2021 @03:18PM (#26006051)
What I use is @media (pointer: coarse) and (hover: none) { If you have a mouse plugged in, you get the desktop design.
Re:Just because I have a vertical screen doesn’t mean I’m on... by hypertele-Xii on Tuesday February 02, 2021 @06:55PM (#26008791)
I don't differentiate by type of device. I just detect aspect ratio:

@media (min-aspect-ratio: 1/1) /* wide */

@media (max-aspect-ratio: 1/1) /* tall */

@media (aspect-ratio: 1/1) /* square */

Re:Just because I have a vertical screen doesn’t mean I’m on... by account42 on Wednesday February 03, 2021 @04:17AM (#26011948)
And what do you think the aspect ratio tells you? People do use portrait orientation for monitors or windowed mode for browsers.
Re:Just because I have a vertical screen doesn’t mean I’m on... by hypertele-Xii on Wednesday February 03, 2021 @08:13AM (#26013294)
It tells me which axis is longer, so I can responsively move the menu there. Also I flow content differently - lists get columns if wide enough.

Here, play with your window width to see: https://hypertele.fi/0000000000000000