From 90caecdcb0e8e5788fd5fc04cf0eba2da6ebe6b3 Mon Sep 17 00:00:00 2001 From: Carlos Valverde Date: Fri, 1 Apr 2022 14:53:40 +0000 Subject: [PATCH] [REF] mail: `dialog` scss revamp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit replaces raw SCSS with default Bootstrap classes, in order to reduce code lines and to increase performance. Task-2812497 Part of the overall v16 SCSS optimization/restyle, task-2704984 closes odoo/odoo#87796 Signed-off-by: Alexandre Kühn (aku) --- addons/mail/static/src/components/dialog/dialog.scss | 12 ------------ addons/mail/static/src/components/dialog/dialog.xml | 2 +- 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/addons/mail/static/src/components/dialog/dialog.scss b/addons/mail/static/src/components/dialog/dialog.scss index ac7b264d8e3..06d75cf688c 100644 --- a/addons/mail/static/src/components/dialog/dialog.scss +++ b/addons/mail/static/src/components/dialog/dialog.scss @@ -2,18 +2,6 @@ // Layout // ------------------------------------------------------------------ -.o_Dialog { - position: absolute; - top: 0; - bottom: 0; - left: 0; - right: 0; - display: flex; - align-items: center; - justify-content: center; - z-index: $zindex-modal; -} - .o_Dialog_componentLargeSize { min-width: Min(95vw, $o-modal-lg); max-width: 95vw; diff --git a/addons/mail/static/src/components/dialog/dialog.xml b/addons/mail/static/src/components/dialog/dialog.xml index 49825fccd6b..a528daf9625 100644 --- a/addons/mail/static/src/components/dialog/dialog.xml +++ b/addons/mail/static/src/components/dialog/dialog.xml @@ -3,7 +3,7 @@ -
+