From a63bac39b4c6976b1864696e16b5784085ad1a32 Mon Sep 17 00:00:00 2001 From: Angelo Stavrow Date: Mon, 20 Jul 2020 06:47:12 -0400 Subject: Don't stretch smaller images, and respect source aspect ratio --- static/css/style.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/static/css/style.css b/static/css/style.css index 162e1f8..be7adef 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -30,7 +30,10 @@ body { } img { - width: 100%; + display: block; + height: 100%; + margin: 0 auto; + max-width: 100%; } blockquote { -- cgit v1.2.3