top | item 31274669

(no title)

Anaminus | 3 years ago

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?

discuss

order

account42|3 years ago

> 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.

akavi|3 years ago

It's not scaled to the viewport for me. It's centered in the middle of it, but still tiny.

Anaminus|3 years ago

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.