From 3fa9b4b75e777a6609f5ca204bfd4b2a487ad57e Mon Sep 17 00:00:00 2001 From: Set Hallstrom Date: Thu, 22 Oct 2020 14:41:26 +0200 Subject: [PATCH] fix image size in post content --- _sass/_elements.scss | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/_sass/_elements.scss b/_sass/_elements.scss index 57e10e9..c19b6e5 100644 --- a/_sass/_elements.scss +++ b/_sass/_elements.scss @@ -188,7 +188,16 @@ a:hover { padding-top: 40px; max-width: var(--max-width); margin: auto; + img { + margin-left: auto; + margin-right: auto; + width: 100%; + max-width: 600px; + height: auto; + display: block; + } } + p { margin: 20px 0; }