fix: mobile drawer scrolls with iOS momentum and overscroll containment for long chat lists
This commit is contained in:
parent
3676d2c105
commit
d6ba2ce2a6
1 changed files with 1 additions and 1 deletions
|
|
@ -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; }
|
||||
|
|
|
|||
Loading…
Reference in a new issue