summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--addons/portal/static/src/scss/portal.scss13
1 files changed, 13 insertions, 0 deletions
diff --git a/addons/portal/static/src/scss/portal.scss b/addons/portal/static/src/scss/portal.scss
index 574ec25e607..9dee5d329ae 100644
--- a/addons/portal/static/src/scss/portal.scss
+++ b/addons/portal/static/src/scss/portal.scss
@@ -155,6 +155,19 @@ hr {
.container-fluid .container-fluid {
@extend %o-double-container-no-padding;
}
+#wrap {
+ > .container, > .container-fluid {
+ // BS3 used to do this on all containers so that margins and floats are
+ // cleared inside containers. As lots of current odoo layouts may rely
+ // on this for some alignments, this is restored (at least for a while)
+ // here only for main containers of the frontend.
+ &::before, &::after {
+ content: "";
+ display: table;
+ clear: both;
+ }
+ }
+}
[class^="col-lg-"] {
min-height: 24px;
}