From a8d50af50737563750ac7071c71e6990432695e4 Mon Sep 17 00:00:00 2001 From: Lewis Dale Date: Sat, 18 Mar 2023 15:48:24 +0000 Subject: [PATCH] Styling: fix aspect-ratio for images in figures --- src/css/exceptions/article.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/css/exceptions/article.css b/src/css/exceptions/article.css index 8c09317..0a2b270 100644 --- a/src/css/exceptions/article.css +++ b/src/css/exceptions/article.css @@ -4,6 +4,12 @@ article { margin-inline-end: auto; } + figure img { + aspect-ratio: 4/3; + object-fit: cover; + object-position: center; + } + ul, ol { list-style: initial; padding: 0 var(--space-size-m);