A tap on a phone is a click, not a zoom
Double-tap zoom is off from the root down, and the viewport's maximum scale keeps iOS from zooming into a small field when it takes focus. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011FLuCjp9kNH6ovwJVXSbq9
This commit is contained in:
parent
0291d7c628
commit
b40564ad97
3 changed files with 7 additions and 2 deletions
|
|
@ -85,6 +85,11 @@
|
|||
* { box-sizing: border-box; }
|
||||
|
||||
html, body { margin: 0; height: 100%; overflow: hidden; }
|
||||
/* AN EDITOR, NOT A PAGE: a tap is a click, never the first half of a
|
||||
double-tap zoom. Set on the root, it reaches everything under it, and an
|
||||
element that says `none` — the stage, a grip — still gets its own way. The
|
||||
zoom on focusing a small field is the viewport's `maximum-scale`. */
|
||||
html { touch-action: manipulation; }
|
||||
|
||||
body {
|
||||
background: var(--desk);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue