fix(pwa): disable pinch-to-zoom and block residual body scroll (#16)
- Added user-scalable=no, maximum-scale=1 to viewport meta tag to prevent pinch-to-zoom in standalone PWA mode - Added overflow: hidden to html, body so any minimal content overflow cannot make the body scrollable (belt-and-suspenders alongside overscroll-behavior: none) - Service worker cache bumped to v28/v27
This commit is contained in:
+2
-2
@@ -2,8 +2,8 @@
|
||||
<html lang="de">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<!-- Viewport: edge-to-edge, kein Auto-Zoom bei Inputs -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
|
||||
<!-- Viewport: edge-to-edge, kein Zoom (PWA-native feel) -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover, user-scalable=no, maximum-scale=1" />
|
||||
|
||||
<!-- PWA / Theme -->
|
||||
<meta name="theme-color" content="#007AFF" media="(prefers-color-scheme: light)" />
|
||||
|
||||
Reference in New Issue
Block a user