From e22eb8dbdf024f05e4eeafd5710e01931fcbd8f7 Mon Sep 17 00:00:00 2001 From: Daniel Date: Wed, 9 Sep 2026 17:55:57 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20mobile=20menu=20scrolls=20as=20one=20col?= =?UTF-8?q?umn=20like=20Open=20WebUI=20=E2=80=94=20the=20saved-chats=20car?= =?UTF-8?q?d=20grows=20with=20content=20instead=20of=20clipping?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/css/assistant.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/public/css/assistant.css b/public/css/assistant.css index dbccc23..2d8b3bf 100644 --- a/public/css/assistant.css +++ b/public/css/assistant.css @@ -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; }