Skip to content

A platform for community discussion. Free, open, simple.

UX: scope chat-channel-title hover effect (#18854)

chapoi1c52e11d4820
diff --git a/plugins/chat/assets/stylesheets/desktop/chat-channel-title.scss b/plugins/chat/assets/stylesheets/desktop/chat-channel-title.scss
index 208312023db..02656c4d5cb 100644
--- a/plugins/chat/assets/stylesheets/desktop/chat-channel-title.scss
+++ b/plugins/chat/assets/stylesheets/desktop/chat-channel-title.scss
@@ -1,8 +1,12 @@
-.chat-channel-title {
- max-width: 96%;
+.channels-list .direct-message-channels {
+ .chat-channel-title {
+ max-width: 100%;
+ box-sizing: border-box;
+ }
- .direct-message-channels .chat-channel-row:hover & {
- overflow: hidden;
- max-width: unset;
+ .chat-channel-row:hover {
+ .chat-channel-title {
+ overflow: hidden;
+ }
}
}