From ced59a94a18e4db4190428efe5ef29392c1b12ad Mon Sep 17 00:00:00 2001 From: Younn Olivier Date: Thu, 6 May 2021 15:07:09 +0000 Subject: [FIX] website_forum: fix image size in posts Before this commit, big images would overflow from posts containers. task-2469516 Part of https://github.com/odoo/odoo/pull/70235 closes odoo/odoo#71412 X-original-commit: 17f736c19ae67acbaa16d2f8452e9ccb58dd3ef3 Signed-off-by: Quentin Smetz (qsm) --- addons/website_forum/static/src/scss/website_forum.scss | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/addons/website_forum/static/src/scss/website_forum.scss b/addons/website_forum/static/src/scss/website_forum.scss index 861349a8d9c..12ad1ac3a2a 100644 --- a/addons/website_forum/static/src/scss/website_forum.scss +++ b/addons/website_forum/static/src/scss/website_forum.scss @@ -67,6 +67,10 @@ $bronze: #eea91e; margin-bottom: 0.5rem; } + img { + max-width: 100%; + } + &::after { content: ""; display: table; @@ -157,10 +161,6 @@ $bronze: #eea91e; cursor: pointer; text-decoration: none !important; } - - .forum_answer img, .question-block img { - max-width: 100% - } } .website_forum, .o_wforum_profile_tab { -- cgit v1.2.3