From: Codebuddy Date: Tue, 11 Aug 2026 22:26:10 +0000 (+0800) Subject: fix(frontend): lock page scroll on iOS and pin top-bar for iPad X-Git-Url: http://acesimba.cloud/gitweb/?a=commitdiff_plain;h=7ad4586b60357b2aa7433bc774d75fc71f90e0ab;p=codebuddy-web.git fix(frontend): lock page scroll on iOS and pin top-bar for iPad - Use body{position:fixed; inset:0; overflow:hidden} to reliably lock the page on iOS Safari (overflow:hidden on body is ignored by iOS). - Remove ineffective position:sticky from .top-bar; with body fixed the top-bar is a flex-shrink:0 flex item pinned at the top naturally. - Fixes two iPad issues: title bar scrolling away, and page not auto-scrolling to newest terminal output (xterm handles internal scroll). --- diff --git a/frontend/index.html b/frontend/index.html index d872fce..f402fbb 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -7,11 +7,12 @@