From a203bd76b3f5de7ea3a8d767e9b488b93dc8a361 Mon Sep 17 00:00:00 2001 From: Marco Almeida Date: Thu, 3 Oct 2019 10:28:04 +0100 Subject: [PATCH] Set image CSS on emails to be max-width: 100% Fixes #24763 --- templates/emails/email-styles.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/emails/email-styles.php b/templates/emails/email-styles.php index 743fe77ca53..edb80e8a950 100644 --- a/templates/emails/email-styles.php +++ b/templates/emails/email-styles.php @@ -222,5 +222,7 @@ img { text-transform: capitalize; vertical-align: middle; margin-: 10px; + max-width: 100%; + height: auto; }