Disable the message version navigation hover effects during streaming

This commit is contained in:
oobabooga 2025-07-07 11:29:37 -07:00
parent 07e6f004c5
commit ca226a54c6

View file

@ -1291,18 +1291,16 @@ div.svelte-362y77>*, div.svelte-362y77>.form>* {
opacity: 1; opacity: 1;
} }
/* Disable message action hover effects during generation */ /* Disable message actions and version navigation hover effects during generation */
._generating .message:hover .message-actions, ._generating :is(.message, .user-message, .assistant-message):hover :is(.message-actions, .version-navigation) {
._generating .user-message:hover .message-actions,
._generating .assistant-message:hover .message-actions {
opacity: 0 !important; opacity: 0 !important;
pointer-events: none;
} }
/* Disable message action hover effects during scrolling */ /* Disable message actions and version navigation hover effects during scrolling */
.scrolling .message:hover .message-actions, .scrolling :is(.message, .user-message, .assistant-message):hover :is(.message-actions, .version-navigation) {
.scrolling .user-message:hover .message-actions,
.scrolling .assistant-message:hover .message-actions {
opacity: 0 !important; opacity: 0 !important;
pointer-events: none;
} }
.footer-button svg { .footer-button svg {