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:
Olive Vaughn 2026-10-10 23:52:23 -04:00
parent 0291d7c628
commit b40564ad97
3 changed files with 7 additions and 2 deletions

View file

@ -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);