From c0e8b8afff998449229cd5d0ad28a058a2d217dd Mon Sep 17 00:00:00 2001 From: moran Date: Tue, 11 Aug 2026 16:50:11 +0800 Subject: [PATCH] feat(webui): polish iOS PWA presentation - Disable pinch/double-tap zoom via the viewport meta (system-level accessibility zoom is unaffected). - Add viewport-fit=cover so standalone mode renders edge-to-edge; the layout already uses env(safe-area-inset-*) from #4693. - Add apple-mobile-web-app-* metas for standalone launch, status bar, and home screen label on iOS. - Prevent double-tap zoom and orientation text inflation via inline CSS. --- webui/index.html | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/webui/index.html b/webui/index.html index 070e9966d..8832b888b 100644 --- a/webui/index.html +++ b/webui/index.html @@ -2,7 +2,10 @@ - + + + + + @@ -22,6 +29,14 @@ height: 100%; } + /* App-like feel on touch devices: no double-tap zoom on interactive + elements (system-level accessibility zoom still works), and no text + size inflation on orientation change. */ + html { + -webkit-text-size-adjust: 100%; + touch-action: manipulation; + } + body { margin: 0; background: #ffffff;