Content deleted by creator due to lemmy.ml tolerating brigades from hexbear

  • Knusper@feddit.de
    link
    fedilink
    arrow-up
    6
    arrow-down
    1
    ·
    1 year ago

    They have this in their webpage header:

    meta name=“viewport” content=“initial-scale=1.0, maximum-scale=1.0, user-scalable=no”

    Not sure, if the Firefox toggle ignores all of that. They might have further non-sense preventing zoom.

    In principle, zooming is kind of tricky for web designers.

    When using pinch-to-zoom (touchscreen, touchpad), it should be no problem, as browsers then generally just scale up everything. The webpage may request to be as wide as the screen, but the browser will just display things wider than the screen and not tell the webpage about it.

    On a desktop, when using the traditional zoom or even text-only zoom, that’s when things become tricky. Suddenly, different measures on your webpage grow at different rates. The text that previously fit into 5cm width may now be cut off or reflowed.

    In particular, when zooming their desktop page, you’ll see that the header grows comically large. And since they’ve fixed it to the top, the webpage becomes unusable.

    In essence, there’s three things they could do:

    • Allow pinch-to-zoom, disallow other zoom.
    • Fix their stupid header and whatever else may be broken. It’s not that hard.
    • Throw away the whole webpage and start fresh. Browser were built to display documents and this page wants to display documents. The most basic webpage will work better than what they’ve built.