A platform for community discussion. Free, open, simple.
UX: chat thread hover (#21181)
chapoiba2adc7793cc
diff --git a/plugins/chat/assets/stylesheets/common/chat-message-thread-indicator.scss b/plugins/chat/assets/stylesheets/common/chat-message-thread-indicator.scssindex 82e5a2b8e48..04beed8b0e7 100644--- a/plugins/chat/assets/stylesheets/common/chat-message-thread-indicator.scss+++ b/plugins/chat/assets/stylesheets/common/chat-message-thread-indicator.scss@@ -5,16 +5,12 @@display: flex;cursor: pointer;grid-area: threadindicator;- border: 1px solid transparent;- margin: 4px 0 -2px calc(var(--message-left-width) - 5px);- padding: 4px;-- &:hover {- .chat-message:hover & {- border-color: var(--primary-low);- background-color: var(--secondary);- }- }+ background-color: var(--primary-very-low);+ margin: 4px 0 -2px calc(var(--message-left-width) - 0.25rem);+ padding-block: 0.25rem;+ padding-inline: 0.5rem;+ max-width: 500px;+ border-radius: 4px;&__replies-count {color: var(--primary-medium);diff --git a/plugins/chat/assets/stylesheets/common/chat-message.scss b/plugins/chat/assets/stylesheets/common/chat-message.scssindex c105f95e606..bc65c9454c9 100644--- a/plugins/chat/assets/stylesheets/common/chat-message.scss+++ b/plugins/chat/assets/stylesheets/common/chat-message.scss@@ -213,13 +213,13 @@.touch & {&:active {- background: var(--primary-very-low);+ background: var(--d-hover);border-radius: 5px;}&.chat-message-bookmarked {&:active {- background: var(--highlight-medium);+ background: var(--highlight-low);}}}@@ -228,7 +228,7 @@&.is-active,&:hover,&:active {- background: var(--primary-very-low);+ background: var(--d-hover);}&:hover {