News for hackers. Stuff that matters.
Re:Please stop disabling zoom by Anaminus on Thursday May 05, 2022 @11:34AM (#31274669)
Vision: Game Boy Advance-sized website.

Problem: Very tiny.

Solution: Scale to viewport in integer increments.

Result: https://anaminus.github.io/

This disables zoom. In fact, it actively fights the zoom level to always fit the viewport. Have I committed a great sin?

Re:Please stop disabling zoom by NDizzle on Thursday May 05, 2022 @12:22PM (#31275320)
Not sure what you're going for, but this probably isn't it.

https://imgur.com/a/Kgktbvs

Re:Please stop disabling zoom by Jaruzel on Thursday May 05, 2022 @11:54AM (#31274963)
Love it.

To be honest, It makes me recall painful WAP[1] browsing on an old Nokia phone.

---

[1] https://en.wikipedia.org/wiki/Wireless_Application_Protocol

Re:Please stop disabling zoom by account42 on Friday May 06, 2022 @07:59AM (#31284123)
> This disables zoom. In fact, it actively fights the zoom level to always fit the viewport. Have I committed a great sin?

Yes. Scaling to the screen size is fine, overriding the users's attempt at zooming in is not.

Re:Please stop disabling zoom by akavi on Thursday May 05, 2022 @12:00PM (#31275050)
It's not scaled to the viewport for me. It's centered in the middle of it, but still tiny.
Re:Please stop disabling zoom by Anaminus on Thursday May 05, 2022 @12:19PM (#31275275)
I figured this would happen. I've also committed the even greater sin of testing in only one environment (my own). I guess we don't quite live in the future yet.