From e7bc4e9703954fa952f24b4f96e75dc4299bbb28 Mon Sep 17 00:00:00 2001 From: Aaron Bohy Date: Wed, 18 May 2016 09:56:07 +0200 Subject: [PATCH] [FIX] mail: thread: keep image ratio With rule 'max-width: 100%', the height must be reset to 'auto' to keep the image ratio. --- addons/mail/static/src/less/thread.less | 1 + 1 file changed, 1 insertion(+) 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 {