mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2026-01-05 08:10:07 +01:00
Optimize chat scrolling for the 40th time, hopefully the last one
This commit is contained in:
parent
acd57b6a85
commit
f154aeafea
12
css/main.css
12
css/main.css
|
|
@ -1670,3 +1670,15 @@ button:focus {
|
|||
#textbox-notebook span {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.chat-parent {
|
||||
/* Optimize for scrolling performance */
|
||||
will-change: scroll-position;
|
||||
contain: layout style paint;
|
||||
|
||||
/* Ensure GPU acceleration */
|
||||
transform: translateZ(0);
|
||||
|
||||
/* Prevent layout shifts */
|
||||
overflow-anchor: none;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue