summaryrefslogtreecommitdiff
path: root/addons/website_forum/static/src
diff options
context:
space:
mode:
authorJeremy Kersten <jke@odoo.com>2019-01-23 16:34:47 +0000
committerJeremy Kersten <jke@odoo.com>2019-01-23 17:03:04 +0000
commit7805c55b0c9db68ba13517af365ed94b0f04f1e0 (patch)
tree8cd25056db68c30167aea13c9a8022b3fcbcbbb5 /addons/website_forum/static/src
parentfe62c45e70be52c823ec2d2a931b6e2979882368 (diff)
[FIX] website_forum: small ui fix
Force image to stay in their container (img_fluid could be removed by end user) Stop to use row_users now that we use bs4, allow to be more responsive, force height to be the same for each card. Small imp replacing multiple if by elif Decrease big margin between questions Place tag on the top (if you have many tag, or very long, the ui is broken)
Diffstat (limited to 'addons/website_forum/static/src')
-rw-r--r--addons/website_forum/static/src/scss/website_forum.scss4
1 files changed, 4 insertions, 0 deletions
diff --git a/addons/website_forum/static/src/scss/website_forum.scss b/addons/website_forum/static/src/scss/website_forum.scss
index 9c134d58e7b..36b3c72e2ff 100644
--- a/addons/website_forum/static/src/scss/website_forum.scss
+++ b/addons/website_forum/static/src/scss/website_forum.scss
@@ -132,6 +132,10 @@ $bronze: #eea91e;
width: auto !important;
}
+ .forum_answer img, .question-block img {
+ max-width: 100%
+ }
+
img.country_flag_people {
@include o-position-absolute(0,0);
max-height: 25px;