From dc3bb316c7b2ba3c917fccbfccbe3b83804d285d Mon Sep 17 00:00:00 2001 From: Kevin Ansfield Date: Thu, 30 Aug 2018 14:49:40 +0100 Subject: [PATCH] Fixed incorrect image aspect ratio when images have width/height attrs no issue - when large images have width/height attributes but the image is constrained to it's container or `max-width` style the aspect ratio would be broken because browsers use the `height` attribute value even though the width is smaller --- assets/css/screen.css | 1 + 1 file changed, 1 insertion(+) diff --git a/assets/css/screen.css b/assets/css/screen.css index 1c276d3..efb07e9 100644 --- a/assets/css/screen.css +++ b/assets/css/screen.css @@ -842,6 +842,7 @@ The first (most recent) post in the list is styled to be bigger than the others display: block; margin: 1.5em auto; max-width: 1040px; + height: auto; } @media (max-width: 1040px) { .post-full-content img,