From 088ae87221b3b0e4f44b992e95fa874682c670c1 Mon Sep 17 00:00:00 2001 From: James Taylor Date: Sat, 9 Jan 2016 11:11:10 -0600 Subject: [PATCH] Explicitly define height as auto While using only width at 100% it stretches all imgs in the post to width of parent div. But doesn't maintain aspect ratio. This corrects this issue. Regardless, setting width to 100% makes img tags width/height be ignored. --- _sass/_post.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/_sass/_post.scss b/_sass/_post.scss index df25968..80ac8fd 100644 --- a/_sass/_post.scss +++ b/_sass/_post.scss @@ -34,6 +34,7 @@ .post-content { img { width: 100%; + height: auto; } } }