diff options
| author | Thibault Delavallée <tde@openerp.com> | 2014-05-15 11:38:00 +0200 |
|---|---|---|
| committer | Thibault Delavallée <tde@openerp.com> | 2014-05-15 11:38:00 +0200 |
| commit | 1fbc5c1cfbf5ad41960c2c9e5e48ee54d323f081 (patch) | |
| tree | 06f15ada6dff45b5eba741693e5445b65d52900e /addons/website_forum/static/src/css | |
| parent | 70f29d774892f0256e3e7e773b9abe95c233a9a8 (diff) | |
[FIX] website_forum: fixed issues with images in question / answers, now limited
in width + auto height. Improved rule for img-avatar to avoid being overriden
by the default img rule.
Diffstat (limited to 'addons/website_forum/static/src/css')
| -rw-r--r-- | addons/website_forum/static/src/css/website_forum.css | 15 | ||||
| -rw-r--r-- | addons/website_forum/static/src/css/website_forum.sass | 15 |
2 files changed, 24 insertions, 6 deletions
diff --git a/addons/website_forum/static/src/css/website_forum.css b/addons/website_forum/static/src/css/website_forum.css index 75befd62b1c..54a7f47380f 100644 --- a/addons/website_forum/static/src/css/website_forum.css +++ b/addons/website_forum/static/src/css/website_forum.css @@ -24,16 +24,25 @@ .question .badge-active { background-color: #428bca; } +.question img { + max-width: 600px; + height: auto !important; +} -.oe_grey { - background-color: #eeeeee; +.forum_answer img { + max-width: 600px; + height: auto !important; } -.img-avatar { +img.img-avatar { max-width: 50px; margin-right: 10px; } +.oe_grey { + background-color: #eeeeee; +} + .badge-gold { color: #ffcc00; } diff --git a/addons/website_forum/static/src/css/website_forum.sass b/addons/website_forum/static/src/css/website_forum.sass index d800d293de8..4a16f48e77e 100644 --- a/addons/website_forum/static/src/css/website_forum.sass +++ b/addons/website_forum/static/src/css/website_forum.sass @@ -19,14 +19,23 @@ margin-left: 4px .badge-active background-color: #428bca + img + max-width: 600px + height: auto !important -.oe_grey - background-color: #eeeeee +.forum_answer + img + max-width: 600px + height: auto !important -.img-avatar +img.img-avatar max-width: 50px margin-right: 10px + +.oe_grey + background-color: #eeeeee + .badge-gold color: #ffcc00 |
