Comments (3)
Related history:
from www.ziglang.org.
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.
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)
- download: consider changing asset ordering HOT 3
- what does inline function do? No mention of it in the doc whatsoever HOT 1
- breadcrumbs and search bar looks too similar in the std docs HOT 2
- Outdated sponsors list HOT 1
- Inaccurate statement on metaprogramming
- No new dev release on the website HOT 1
- Wrong fact in the "Why Zig When There is Already C++, D, and Rust?" article HOT 1
- Spelling mistake in the build.zig.zon example file HOT 2
- `zig init-exe` is deprecated HOT 4
- Language names inside the footer are broken in the middle of the word
- Build Tarballs is failing
- The `Options for Conditional Compilation` code snippet encounters an error HOT 2
- Hard-to-read text in `why_zig_rust_d_cpp` HOT 3
- Discrepancy between @src when invoked via `zig build` or in project code HOT 1
- 0.12.0 release notes link to llvm 16 release notes
- signing keys on https://ziglang.org/download/ HOT 1
- Putting 0.12 Release above master on the download page HOT 1
- Zig Standard library documentation in 0.12 language reference linking to master HOT 1
- Mark current stable release in download.json HOT 6
- hugo serve: Error executing zigdoctest for [assets/.../1-simple-executable/build.zig]: AccessDenied
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from www.ziglang.org.