From e4938b38622f08e22ec70d824356a8ccf79e8ef1 Mon Sep 17 00:00:00 2001 From: Thanh Dodeur Date: Tue, 11 Oct 2022 12:47:11 +0000 Subject: [PATCH] [FIX] prevents the callViewer from being too small on small screens MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Before this commit, the callViewer could end up too small and only have space for the callActionList, which was hiding call participants. taskid-3014640 closes odoo/odoo#103144 X-original-commit: b9370f5fdf0dcbcf23280f370408eab5183433e6 Signed-off-by: Alexandre Kühn (aku) --- addons/mail/static/src/components/call_view/call_view.scss | 3 +-- addons/mail/static/src/components/call_view/call_view.xml | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) 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 52604aa3461..da75fe8f8e2 100644 --- a/addons/mail/static/src/components/call_view/call_view.scss +++ b/addons/mail/static/src/components/call_view/call_view.scss @@ -7,7 +7,6 @@ background: var(--CallView-background-color, #{$dark}); &.o-isMinimized { - height: 20%; - min-height: 20%; + min-height: #{"max(20%, 130px)"}; } } diff --git a/addons/mail/static/src/components/call_view/call_view.xml b/addons/mail/static/src/components/call_view/call_view.xml index cea1714a41a..d948aaf5a63 100644 --- a/addons/mail/static/src/components/call_view/call_view.xml +++ b/addons/mail/static/src/components/call_view/call_view.xml @@ -3,7 +3,7 @@ -
+