summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/scss
diff options
context:
space:
mode:
authorBenjamin Vray <bvr@odoo.com>2020-06-30 13:23:31 +0000
committerqsm-odoo <qsm@odoo.com>2020-06-30 14:19:17 +0000
commit58179cebf19b78b6c0feeac0edf7f30f49ad41bb (patch)
tree1f767fe9cefbf4147d0f5b86c969e675ba2bfb18 /addons/web_editor/static/src/scss
parent4341a4d79571047bee3ab7560cd6d7fceb1368ad (diff)
[IMP] web, *: replace the bootstrap backdrop element with a bg on modals
*: web_editor Do not display the backdrop element added by bootstrap in the body and add a background on the modal to keep the same effect. The bootstrap backdrop was probably useful for compatibility with <IE9 but is no longer needed. This also avoids z-index issues because modals could be opened in an element (e.g. the website #wrapwrap) whose stacking context is different of the body one (where the backdrop is opened). This would make the backdrop appears on top of the modal. Part of https://github.com/odoo/odoo/pull/49142 Related to task-2229551 Co-authored-by: qsm-odoo <qsm@odoo.com>
Diffstat (limited to 'addons/web_editor/static/src/scss')
-rw-r--r--addons/web_editor/static/src/scss/web_editor.variables.scss1
1 files changed, 0 insertions, 1 deletions
diff --git a/addons/web_editor/static/src/scss/web_editor.variables.scss b/addons/web_editor/static/src/scss/web_editor.variables.scss
index a293724df1d..9a980e9a392 100644
--- a/addons/web_editor/static/src/scss/web_editor.variables.scss
+++ b/addons/web_editor/static/src/scss/web_editor.variables.scss
@@ -193,7 +193,6 @@ $o-we-toolbar-height: 32px;
}
@mixin o-w-preserve-modals {
- background: 0;
.modal-content {
border-radius: 0;