mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2026-02-24 08:37:13 +01:00
Disable message action icons during streaming for better performance
This commit is contained in:
parent
2dee3a66ff
commit
a25a1fc8d0
19
css/main.css
19
css/main.css
|
|
@ -1289,6 +1289,20 @@ div.svelte-362y77>*, div.svelte-362y77>.form>* {
|
|||
opacity: 1;
|
||||
}
|
||||
|
||||
/* Disable message action hover effects during generation */
|
||||
._generating .message:hover .message-actions,
|
||||
._generating .user-message:hover .message-actions,
|
||||
._generating .assistant-message:hover .message-actions {
|
||||
opacity: 0 !important;
|
||||
}
|
||||
|
||||
/* Disable message action hover effects during scrolling */
|
||||
.scrolling .message:hover .message-actions,
|
||||
.scrolling .user-message:hover .message-actions,
|
||||
.scrolling .assistant-message:hover .message-actions {
|
||||
opacity: 0 !important;
|
||||
}
|
||||
|
||||
.footer-button svg {
|
||||
stroke: rgb(156 163 175);
|
||||
transition: stroke 0.2s;
|
||||
|
|
@ -1624,8 +1638,3 @@ button:focus {
|
|||
justify-content: center;
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Disable hover effects while scrolling */
|
||||
.chat-parent.scrolling * {
|
||||
pointer-events: none !important;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue