From 1c52e11d4820b42bd5b557d29c1a457dcc447bcf Mon Sep 17 00:00:00 2001 From: chapoi <101828855+chapoi@users.noreply.github.com> Date: Thu, 3 Nov 2022 09:04:57 +0100 Subject: [PATCH] UX: scope chat-channel-title hover effect (#18854) --- .../stylesheets/desktop/chat-channel-title.scss | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) 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; + } } }