From cdf8eb80554be5279698478591ce85fbc4bc8e7a Mon Sep 17 00:00:00 2001 From: chapoi <101828855+chapoi@users.noreply.github.com> Date: Wed, 27 Nov 2024 06:04:04 +0100 Subject: [PATCH] UX: update minwidth to chat sidepanel + better title word-break fn (#29954) --- plugins/chat/assets/stylesheets/common/chat-navbar.scss | 1 + plugins/chat/assets/stylesheets/desktop/chat-side-panel.scss | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/chat/assets/stylesheets/common/chat-navbar.scss b/plugins/chat/assets/stylesheets/common/chat-navbar.scss index 13b9e648bab..129801cc1ef 100644 --- a/plugins/chat/assets/stylesheets/common/chat-navbar.scss +++ b/plugins/chat/assets/stylesheets/common/chat-navbar.scss @@ -22,6 +22,7 @@ overflow: visible; white-space: normal; text-overflow: unset; + overflow-wrap: anywhere; } } } diff --git a/plugins/chat/assets/stylesheets/desktop/chat-side-panel.scss b/plugins/chat/assets/stylesheets/desktop/chat-side-panel.scss index 54fbb98d08d..052bb9ef916 100644 --- a/plugins/chat/assets/stylesheets/desktop/chat-side-panel.scss +++ b/plugins/chat/assets/stylesheets/desktop/chat-side-panel.scss @@ -9,7 +9,7 @@ box-sizing: border-box; border-left: 1px solid var(--primary-low); position: relative; - min-width: 150px; + min-width: clamp(350px, 33vw, 33vw); &__list { flex-grow: 1;