summaryrefslogtreecommitdiff
path: root/addons/web_editor
diff options
context:
space:
mode:
authorBenjamin Vray <bvr@odoo.com>2020-08-24 11:33:52 +0000
committerqsm-odoo <qsm@odoo.com>2020-09-29 16:02:09 +0000
commit9c08e119b125b82e2c42dc944920dd8a96789e25 (patch)
treea9097d0029208e1e5e754c7479759103f2feb758 /addons/web_editor
parent210b5feb00d4163d85c928c8100b3601dc11b4e8 (diff)
[FIX] website, *: fix background layer elsewhere than in a section
*: web_editor Before this commit, the elements (other than section) and with the background layer options avaible (shape, color filter, etc.) did not have the relative position added on their children. So all the children were hidden behind the layer element which is in absolute position. Part of https://github.com/odoo/odoo/pull/58850 task-2312878
Diffstat (limited to 'addons/web_editor')
-rw-r--r--addons/web_editor/static/src/scss/web_editor.common.scss2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web_editor/static/src/scss/web_editor.common.scss b/addons/web_editor/static/src/scss/web_editor.common.scss
index e4e0a6f48d2..cd3b6c5a189 100644
--- a/addons/web_editor/static/src/scss/web_editor.common.scss
+++ b/addons/web_editor/static/src/scss/web_editor.common.scss
@@ -770,7 +770,7 @@ blockquote {
pointer-events: none;
}
-section {
+section, .oe_img_bg, [data-oe-shape-data] {
@extend %o-we-background-layer-parent;
}
.o_we_bg_filter {