News for hackers. Stuff that matters.
Re:Just because I have a vertical screen doesn’t mean I’m on... by jefftk on Tuesday February 02, 2021 @09:58AM (#26001657)
What viewport width are you providing in that case?
Re:Just because I have a vertical screen doesn’t mean I’m on... by ur-whale on Tuesday February 02, 2021 @11:46AM (#26003225)
I typically go from width=1920 x height=1080 (or larger but with similar aspect ratio) to width=949 x height=1028

On many sites, this trigger the appearance of the dreaded hamburger menu.

Re:Just because I have a vertical screen doesn’t mean I’m on... by jefftk on Tuesday February 02, 2021 @01:39PM (#26004794)
When people lay out desktop sites, 960px is the smallest common minimum design width. Many of these sites are statically laid out, and if rendered with the width of 949px would require horizontal scrolling.
Re:Just because I have a vertical screen doesn’t mean I’m on... by account42 on Wednesday February 03, 2021 @04:28AM (#26012004)
> Many of these sites are statically laid out

Which they shouldn't be.

Re:Just because I have a vertical screen doesn’t mean I’m on... by jefftk on Wednesday February 03, 2021 @07:39AM (#26013091)
Yes, if these sites were not statically laid out, and instead gracefully handled any size they happened to be rendered at, providing a viewport width of 949px would not be a problem.