News for hackers. Stuff that matters.
Re:I am the fold (2015) by moritzwarhier on Thursday December 28, 2023 @02:06PM (#38797215)
SaaS backends often don't consider responsive designs for sane reasons. It's a tradeoff. It's hard to make a web app with many controls and widgets responaive without ruining the experience on bigger screens.

Also, 14" notebooks such as the MacBok Pro are notorious in their own right, they have a viewport width of about 1300 CSS "pixels" and about 2560 physical pixels on the horizontal axis (DPR around 2).

Many web devs fail to consider DPR in their media queries. Plainly speaking, a 14" MBP has less "CSS pixels" than a cheap 14" laptop with 1920x1080 physical pixels and a DPR of 1.

Re:I am the fold (2015) by 8n4vidtmkvmk on Friday December 29, 2023 @03:05AM (#38802696)
I want a CSS var for dppx so I can rescale a canvas element to it's native resolution. This is hard to do without JS right now but if you don't, your graphics will be blurry.