From: Ben Sherratt Date: Mon, 8 May 2023 17:01:43 +0000 (+0100) Subject: Fix? CSS for images in posts X-Git-Url: https://git.bts.cx/cx.git/commitdiff_plain/10ccceaf5320c3797e4ec46250ab7fc9002447fa Fix? CSS for images in posts --- diff --git a/public/design/css/style.css b/public/design/css/style.css index 7d21a2b..f019473 100644 --- a/public/design/css/style.css +++ b/public/design/css/style.css @@ -143,19 +143,9 @@ article + article { article img { display: block; width: 100%; - min-height: 20rem; - max-height: 40vh; - object-fit: scale-down; /*cover;*/ margin: 2rem auto; } -@supports (aspect-ratio: 1) { - article img { - max-height: unset; - aspect-ratio: 3/2; - } -} - /* Supporting Content */ code:not([class*="language"]) {