mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2026-04-20 22:13:43 +00:00
Attempt at fixing chat scroll getting stuck on thinking blocks (#7485)
This commit is contained in:
parent
2aee3a1898
commit
4bce4a38fc
1 changed files with 8 additions and 7 deletions
15
css/main.css
15
css/main.css
|
|
@ -415,7 +415,13 @@ audio {
|
|||
text-align: start;
|
||||
padding-left: 1rem;
|
||||
padding-right: 1rem;
|
||||
contain: layout;
|
||||
contain: layout paint;
|
||||
}
|
||||
|
||||
.message,
|
||||
.user-message,
|
||||
.assistant-message {
|
||||
contain: layout paint;
|
||||
}
|
||||
|
||||
.chat .message .timestamp {
|
||||
|
|
@ -1827,14 +1833,9 @@ button:focus {
|
|||
}
|
||||
|
||||
.chat-parent {
|
||||
/* Optimize for scrolling performance */
|
||||
will-change: scroll-position;
|
||||
contain: style paint;
|
||||
|
||||
/* Ensure GPU acceleration */
|
||||
contain: style;
|
||||
transform: translateZ(0);
|
||||
|
||||
/* Prevent layout shifts */
|
||||
overflow-anchor: none;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue