From b755b45029130f5c33e5ee06e6a880967a957cac Mon Sep 17 00:00:00 2001 From: Joffrey JAFFEUX Date: Tue, 7 Feb 2023 22:00:00 +0100 Subject: [PATCH] FIX: apply max-height on the outer container (#20199) This change allow to correctly work with the topic composer height changing. --- plugins/chat/assets/stylesheets/common/chat-drawer.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/chat/assets/stylesheets/common/chat-drawer.scss b/plugins/chat/assets/stylesheets/common/chat-drawer.scss index ee9587d52cc..2ac7495f8f3 100644 --- a/plugins/chat/assets/stylesheets/common/chat-drawer.scss +++ b/plugins/chat/assets/stylesheets/common/chat-drawer.scss @@ -29,6 +29,7 @@ html.rtl { position: fixed; right: var(--composer-right, 20px); left: 0; + max-height: calc(100% - var(--header-offset) - 15px); .rtl & { left: var(--composer-right, 20px); @@ -66,7 +67,6 @@ html.rtl { width: 400px; min-width: 250px !important; // important to override inline styles max-width: calc(100% - var(--composer-right)); - max-height: calc(100vh - var(--header-offset) - 15px); min-height: 300px !important; // important to override inline styles .chat-drawer-container {