fix: mobile menu scrolls as one column like Open WebUI — the saved-chats card grows with content instead of clipping
All checks were successful
Forgejo Android APK / Root app tests (push) Successful in 56s
Forgejo Android APK / Build signed APK (push) Successful in 2m5s

This commit is contained in:
Daniel 2026-09-09 17:55:57 +02:00
parent 9a42b96ec9
commit e22eb8dbdf

View file

@ -185,6 +185,10 @@
/* 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; 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; }
/* Open WebUI-style: the whole menu is one scrollable column the card grows
with its content instead of clipping it, and the drawer itself scrolls. */
.assistant-history .card { flex:0 0 auto; min-height:0; overflow:visible; }
#assistant-saved-chats { overflow:visible; }
.assistant-layout.mobile-chats-open .assistant-history { transform:translateX(0); }
.assistant-history .card { border:none; box-shadow:none; background:none; padding:0; }
.assistant-history .card-header { padding:6px 10px 2px; }