From 3c9f5da39d5c58341228898710aa6ba91380f98f Mon Sep 17 00:00:00 2001 From: Kevin Ansfield Date: Wed, 7 Jul 2021 21:11:42 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fixed=20small=20text=20in=20Gmai?= =?UTF-8?q?l=20on=20Android=20for=20newsletters=20containing=20images?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit closes https://github.com/TryGhost/Team/issues/737 - without an explicit `width: auto` on images Gmail on Android will make not make the image responsive, instead it was keeping the 1200px intrinsic width of the image and shrinking other content around it to match --- core/server/services/mega/template.js | 1 + 1 file changed, 1 insertion(+) diff --git a/core/server/services/mega/template.js b/core/server/services/mega/template.js index 0a36936105..aa307e9a9a 100644 --- a/core/server/services/mega/template.js +++ b/core/server/services/mega/template.js @@ -406,6 +406,7 @@ figure blockquote p { .kg-image-card img { display: block; margin: 0 auto; + width: auto; height: auto !important; }