[FIX] prevents the callViewer from being too small on small screens

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) <aku@odoo.com>
This commit is contained in:
Thanh Dodeur
2022-10-12 19:52:39 +02:00
committed by Alexandre Kühn
parent 892c8ae572
commit e4938b3862
2 changed files with 2 additions and 3 deletions
@@ -7,7 +7,6 @@
background: var(--CallView-background-color, #{$dark});
&.o-isMinimized {
height: 20%;
min-height: 20%;
min-height: #{"max(20%, 130px)"};
}
}
@@ -3,7 +3,7 @@
<t t-name="mail.CallView" owl="1">
<t t-if="callView">
<div class="o_CallView d-flex" t-att-class="{'o-fullScreen fixed-top vw-100 vh-100': callView.isFullScreen, 'o-isMinimized': callView.isMinimized, 'h-50': !callView.isMinimized and !callView.isFullScreen, 'position-relative': !callView.isFullScreen }" t-attf-class="{{ className }}" t-ref="root">
<div class="o_CallView d-flex" t-att-class="{'o-fullScreen fixed-top vw-100 vh-100': callView.isFullScreen, 'o-isMinimized': callView.isMinimized, 'position-relative': !callView.isFullScreen }" t-attf-class="{{ className }}" t-ref="root">
<!-- Used to make the component depend on the window size and trigger an update when the window size changes. -->
<CallMainView record="callView.callMainView"/>