[FIX] website, *: properly stack the bg layers for big boxes snippet

*: web_editor

The big boxes snippet's content was appearing below the background
layers (filters, shape, video, etc).

Part of https://github.com/odoo/odoo/pull/58192

X-original-commit: f1bd8bc7ef8b084168816bc22d821acdffe2aaf6
This commit is contained in:
qsm-odoo
2020-09-22 11:44:05 +00:00
parent cfe2d22999
commit ae1b838ab4
2 changed files with 2 additions and 0 deletions
@@ -751,6 +751,7 @@ blockquote {
}
%o-we-background-layer {
@include o-position-absolute(0, 0, 0, 0);
position: absolute !important;
display: block;
overflow: hidden;
background-repeat: no-repeat;
@@ -13,6 +13,7 @@
}
}
[class*="col-lg-"] {
@extend %o-we-background-layer-parent;
padding: 8% 5%;
padding-top: 8vw; // A flex item cannot have % padding top and bottom (even if it works on chrome)
padding-bottom: 8vw; // Solution is vw units but we keep 8% as a fallback