iPhone/iPad: no page zoom; PCs keep browser zoom

Stray pinches and double-taps kept zooming the installed app. On iOS only the
viewport gets maximum-scale=1/user-scalable=no, Safari's gesture events are
cancelled and the page uses touch-action: manipulation. The player's own pinch
zoom (pointer events) still works.
This commit is contained in:
Jonathan Sykes
2026-10-03 02:07:41 +08:00
parent 9ce9a96f38
commit 2dfce8a2fb
2 changed files with 17 additions and 0 deletions

View File

@@ -4303,3 +4303,6 @@ body.landscape-fs .player-stage { touch-action: none; } /* fullscreen (real or t
/* The search box gives up width for the update icon instead of pushing Search off screen */
.search-form { min-width: 0; }
.search-form #searchInput { flex: 1 1 auto; min-width: 0; }
/* iPhone/iPad: no double-tap page zoom (scrolling unaffected) */
html.ios-nozoom, html.ios-nozoom body { touch-action: manipulation; }