From 920c603f4f5b70384f5d25f4a1c484e4ebe373c9 Mon Sep 17 00:00:00 2001 From: Younn Olivier Date: Mon, 3 May 2021 09:44:40 +0000 Subject: [FIX] website_forum: fix image display in a forum post The container size of a forum post was not correct when an image was displayed with right or left alignment. The css property clear was added at the end of the posts so that floating elements do not float over the next section. task-2469516 Part of https://github.com/odoo/odoo/pull/70235 X-original-commit: 0c58901cbef8b1d1808f673b7b34d1de93c2fd6d --- addons/website_forum/static/src/scss/website_forum.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/addons/website_forum/static/src/scss/website_forum.scss b/addons/website_forum/static/src/scss/website_forum.scss index c9539b42c02..861349a8d9c 100644 --- a/addons/website_forum/static/src/scss/website_forum.scss +++ b/addons/website_forum/static/src/scss/website_forum.scss @@ -66,6 +66,12 @@ $bronze: #eea91e; p { margin-bottom: 0.5rem; } + + &::after { + content: ""; + display: table; + clear: both; + } } textarea.o_wysiwyg_loader + .note-editor { -- cgit v1.2.3