summaryrefslogtreecommitdiff
path: root/addons/web/static/src/scss/base_frontend.scss
diff options
context:
space:
mode:
Diffstat (limited to 'addons/web/static/src/scss/base_frontend.scss')
-rw-r--r--addons/web/static/src/scss/base_frontend.scss3
1 files changed, 3 insertions, 0 deletions
diff --git a/addons/web/static/src/scss/base_frontend.scss b/addons/web/static/src/scss/base_frontend.scss
index 1175ab2c990..f1c341a89f9 100644
--- a/addons/web/static/src/scss/base_frontend.scss
+++ b/addons/web/static/src/scss/base_frontend.scss
@@ -1,5 +1,8 @@
// Frontend general
#wrapwrap {
+ // The z-index is useful to prevent that children with a negative z-index
+ // go behind the wrapwrap (we create a new stacking context).
+ z-index: 0;
position: relative;
display: flex;
flex-flow: column nowrap;