fix: mobile drawer scrolls with iOS momentum and overscroll containment for long chat lists
All checks were successful
Forgejo Android APK / Root app tests (push) Successful in 48s
Forgejo Android APK / Build signed APK (push) Successful in 2m9s

This commit is contained in:
Daniel 2026-09-09 16:55:50 +02:00
parent 3676d2c105
commit d6ba2ce2a6

View file

@ -183,7 +183,7 @@
.assistant-toolbar-actions .btn-sm { font-size:0; padding:6px 8px; }
.assistant-toolbar-actions .btn-sm i { font-size:13px; }
/* Saved chats: a fixed drawer overlaying the chat */
.assistant-history { position:fixed; left:0; top:0; bottom:0; width:min(85vw,320px); z-index:130; background:white; border-right:1px solid var(--g100); box-shadow:0 0 40px rgba(15,23,42,.14); transform:translateX(-105%); transition:transform .18s ease; display:flex; flex-direction:column; align-items:stretch; padding:10px 8px; overflow-y:auto; overflow-x:hidden; gap:2px; border-radius:0; }
.assistant-history { position:fixed; left:0; top:0; bottom:0; width:min(85vw,320px); z-index:130; background:white; border-right:1px solid var(--g100); box-shadow:0 0 40px rgba(15,23,42,.14); transform:translateX(-105%); transition:transform .18s ease; display:flex; flex-direction:column; align-items:stretch; padding:10px 8px; overflow-y:auto; overflow-x:hidden; overscroll-behavior:contain; -webkit-overflow-scrolling:touch; gap:2px; border-radius:0; }
.assistant-history .card, #assistant-saved-chats { width:100%; max-width:100%; min-width:0; }
.assistant-layout.mobile-chats-open .assistant-history { transform:translateX(0); }
.assistant-history .card { border:none; box-shadow:none; background:none; padding:0; }