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:
Ulas
2026-04-06 10:56:45 +02:00
parent dd6c8a313a
commit 8079c81e22
4 changed files with 17 additions and 6 deletions
+5 -1
View File
@@ -4,8 +4,12 @@
* Abhängigkeiten: tokens.css, layout.css
*/
/* ── Kein Rubber-Banding / Pull-to-Refresh des Browsers ── */
/* ── Kein Rubber-Banding, kein Body-Scroll ──
* overflow: hidden verhindert, dass body scrollbar wird, falls ein
* Element minimal überläuft. overscroll-behavior: none deaktiviert
* Pull-to-Refresh und Rubber-Banding. */
html, body {
overflow: hidden;
overscroll-behavior: none;
}