chore: bump form input font-size to 16px to prevent iOS focus-zoom #6
Reference in New Issue
Block a user
Delete Branch "chore/nanodrop-ios-input-no-zoom"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Final retrofit (5 of 5) in the cross-project iOS focus-zoom chore. Sibling PRs already merged: authd #11, buchinese #5, inventory #18, movement #15.
Change
public/style.css— bumpfont-size: 13px→16pxinside theinput[type="text"], input[type="password"], input[type="file"]block (one line). Mirrors movement PR #15 (Approach A2 minimum-diff) — nanodrop has no<textarea>/<select>so the universal selector adds no extra coverage.Why
iOS Safari auto-zooms when the user taps a text-entry input whose computed
font-sizeis below 16px. Standing rule lives in~/.claude/CLAUDE.mdunder "Web form input font-size".Coverage
All text-entry inputs in
src/views/*.tsare covered:login.tsusername<input type="text">— covered.login.ts<input type="password">— covered.upload.ts<input type="file">— exempt (no soft keyboard); harmlessly bumped along.upload.ts.share-box <input type="text" readonly>— covered via inheritance; iOS does not focus-zoom readonly inputs anyway.No
<textarea>or<select>exist in the codebase.Tests
Added one CSS-shape regression test in
tests/integration/style.test.tsasserting the rule body declaresfont-size≥16px.npm test: 126/126 passing.npm run build: clean.Verification
Needs manual iOS verification by user post-merge.