mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2026-04-06 15:13:38 +00:00
UI: Add a min-height to prevent constant scrolling during chat streaming
This commit is contained in:
parent
b21bd8bb1e
commit
b71ef50e9d
5 changed files with 16 additions and 3 deletions
|
|
@ -403,6 +403,7 @@ div.svelte-362y77>*, div.svelte-362y77>.form>* {
|
|||
.chat-parent {
|
||||
height: calc(100dvh - 98px - var(--input-delta));
|
||||
overflow: auto !important;
|
||||
/* scroll-behavior: smooth; */
|
||||
border-radius: 0 !important;
|
||||
margin-bottom: var(--input-delta) !important;
|
||||
}
|
||||
|
|
@ -1382,3 +1383,7 @@ div.svelte-362y77>*, div.svelte-362y77>.form>* {
|
|||
50% { opacity: 1; }
|
||||
100% { opacity: 0.6; }
|
||||
}
|
||||
|
||||
.streaming {
|
||||
min-height: 70vh;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue