From e83168db2ef686d15a5cf416341b5b811bb107cf Mon Sep 17 00:00:00 2001 From: Thanh Dodeur Date: Mon, 7 Nov 2022 06:47:43 +0000 Subject: [PATCH] [FIX] mail: ensure that the callView maintains the proper size MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit closes odoo/odoo#105260 X-original-commit: e39b2a8794840fced43793f1f45936b81c3c0c9e Signed-off-by: Alexandre Kühn (aku) --- addons/mail/static/src/components/call_view/call_view.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/addons/mail/static/src/components/call_view/call_view.scss b/addons/mail/static/src/components/call_view/call_view.scss index da75fe8f8e2..da53e5fea07 100644 --- a/addons/mail/static/src/components/call_view/call_view.scss +++ b/addons/mail/static/src/components/call_view/call_view.scss @@ -3,10 +3,12 @@ // ------------------------------------------------------------------ .o_CallView { + height: 50%; // ensures that the view returns to the right height when resized min-height: 50%; background: var(--CallView-background-color, #{$dark}); &.o-isMinimized { + height: 20%; // ensures that the view returns to the right height when resized min-height: #{"max(20%, 130px)"}; } }