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
+3 -3
View File
@@ -12,9 +12,9 @@
* API: Immer Netzwerk (kein Caching von Nutzerdaten)
*/
const SHELL_CACHE = 'oikos-shell-v27';
const PAGES_CACHE = 'oikos-pages-v26';
const ASSETS_CACHE = 'oikos-assets-v26';
const SHELL_CACHE = 'oikos-shell-v28';
const PAGES_CACHE = 'oikos-pages-v27';
const ASSETS_CACHE = 'oikos-assets-v27';
const ALL_CACHES = [SHELL_CACHE, PAGES_CACHE, ASSETS_CACHE];
// App-Shell: sofort benötigt für ersten Render