]> git.bts.cx Git - cx.git/commitdiff
Fix? CSS for images in posts
authorBen Sherratt <redacted>
Mon, 8 May 2023 17:01:43 +0000 (18:01 +0100)
committerBen Sherratt <redacted>
Mon, 8 May 2023 17:02:05 +0000 (18:02 +0100)
public/design/css/style.css

index 7d21a2bc12c57edd526f9a6b4421aedb54b8ccc1..f01947315cc6d6fd2c5c7669fce4f6dc88391a99 100644 (file)
@@ -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"]) {