Giter VIP home page Giter VIP logo

Comments (3)

jayschwa avatar jayschwa commented on May 26, 2024

Related history:

from www.ziglang.org.

overmighty avatar overmighty commented on May 26, 2024

I just want to fix scaling on mobile devices, I don't want to adduser-scalable=no. In fact, I think it hurts accessibility, and I turn on "Force enable zoom" in the settings of Chromium-based browsers for Android.

Now,

If a mobile device can't figure out how to render a simple text document [...], that's the device's fault, not the web page.

See https://developer.mozilla.org/en-US/docs/Mozilla/Mobile/Viewport_meta_tag:

Narrow screen devices (e.g. mobiles) render pages in a virtual window or viewport, which is usually wider than the screen, and then shrink the rendered result down so it can all be seen at once. Users can then pan and zoom to see different areas of the page. For example, if a mobile screen has a width of 640px, pages might be rendered with a virtual viewport of 980px, and then it will be shrunk down to fit into the 640px space.

If all web browsers behave like this and fixing scaling on mobile devices only takes a single line of HTML (which, if you use Visual Studio Code, is even generated for you when creating an empty HTML5 document using the html:5 Emmet abbreviation), I'd say it is your website's fault for not displaying properly on all devices.

Also, it would be great if Andrew could clarify what he meant by "it looked weird on my phone."

from www.ziglang.org.

kristoff-it avatar kristoff-it commented on May 26, 2024

I added this a while ago, the new redesign will take responsiveness in consideration. Thanks for the report.

from www.ziglang.org.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.