diff options
| author | Aaron Bohy <aab@odoo.com> | 2016-05-18 09:56:07 +0200 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2016-05-18 10:09:06 +0200 |
| commit | e7bc4e9703954fa952f24b4f96e75dc4299bbb28 (patch) | |
| tree | 753306838ab812298831b712596ea2d1ca9475b1 /addons/mail/static/src | |
| parent | b26fd225843d7db33a5f640e4d74efd1c21d6368 (diff) | |
[FIX] mail: thread: keep image ratio
With rule 'max-width: 100%', the height must be reset to 'auto' to keep the
image ratio.
Diffstat (limited to 'addons/mail/static/src')
| -rw-r--r-- | addons/mail/static/src/less/thread.less | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/mail/static/src/less/thread.less b/addons/mail/static/src/less/thread.less index 81ab0f917d0..a70d9954a70 100644 --- a/addons/mail/static/src/less/thread.less +++ b/addons/mail/static/src/less/thread.less @@ -131,6 +131,7 @@ } img { max-width: 100%; + height: auto; } .o_mail_body_long { |
