summaryrefslogtreecommitdiff
path: root/addons/portal
diff options
context:
space:
mode:
authorYounn Olivier <yol@odoo.com>2021-04-21 14:31:29 +0000
committerqsm-odoo <qsm@odoo.com>2021-05-28 12:30:37 +0000
commitfb556ed09c7ed00afbed33b6029b1315a113575a (patch)
treed81bf5ba52afcc117b75f6ee60f8e4649609b3da /addons/portal
parent2b4ae68892bf963f5170651e4ca4a9983ea18af9 (diff)
[FIX] portal: fix image display in a text block snippet
The container size of a text block snippet (and every snippet without rows) was not correct when an image was displayed with right or left alignment. The css property clear was added at the end of the containers so that floating elements from the section do not float over the next section. task-2469516 closes odoo/odoo#69621 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Diffstat (limited to 'addons/portal')
-rw-r--r--addons/portal/static/src/scss/portal.scss2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/portal/static/src/scss/portal.scss b/addons/portal/static/src/scss/portal.scss
index 239194e39e4..3aa8781854b 100644
--- a/addons/portal/static/src/scss/portal.scss
+++ b/addons/portal/static/src/scss/portal.scss
@@ -147,7 +147,7 @@ li > p {
@extend %o-double-container-no-padding;
}
#wrap {
- > .container, > .container-fluid {
+ .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)