[REF] mail: PopoverView, review and simplify scss

Part of the overall v16 SCSS optimization/restyle, task-2704984

task-2833318

closes odoo/odoo#89663

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
This commit is contained in:
xlu-odoo
2022-04-29 12:05:35 +02:00
parent 217dfa08e6
commit 5b3f735171
2 changed files with 1 additions and 12 deletions
@@ -4,20 +4,9 @@
.o_PopoverView {
z-index: $zindex-modal + 1;
border: $border-width solid;
}
.o_PopoverView_channelInvitationForm {
width: Min(95vw, 400px);
max-height: Min(calc(100vh - 140px), 530px);
}
// ------------------------------------------------------------------
// Style
// ------------------------------------------------------------------
.o_PopoverView {
border-color: gray('300');
background-color: $white;
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}
@@ -3,7 +3,7 @@
<t t-name="mail.PopoverView" owl="1">
<t t-if="popoverView">
<div class="o_PopoverView" t-attf-class="{{ className }}" t-ref="root">
<div class="o_PopoverView border bg-white shadow-sm" t-attf-class="{{ className }}" t-ref="root">
<t
t-component="constructor.components[popoverView.contentComponentName]"
className="popoverView.contentClassName"