]> acesimba.cloud Git - codebuddy-web.git/commit
fix(frontend): lock page scroll on iOS and pin top-bar for iPad
authorCodebuddy <codebuddy@localhost>
Tue, 11 Aug 2026 22:26:10 +0000 (06:26 +0800)
committerCodebuddy <codebuddy@localhost>
Tue, 11 Aug 2026 22:26:10 +0000 (06:26 +0800)
commit7ad4586b60357b2aa7433bc774d75fc71f90e0ab
tree4aaf98711d148a61f359c2df9645eee85f10e0ed
parenteae89fdaa69240520223504298e09cb79f4076b2
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).
frontend/index.html