From 8b9c6bd91aba216d8f40da29af0c0d9149a7d405 Mon Sep 17 00:00:00 2001 From: "Aron S." Date: Fri, 9 May 2025 10:25:13 -0500 Subject: [PATCH] Fixed image responsiveness The previous implementation left overflow and gutters around the landscape images when viewed on mobile. This fix solves that issue and renders the image more responsively. --- src/index.css | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/index.css b/src/index.css index ac7a8fe..ab1da1a 100644 --- a/src/index.css +++ b/src/index.css @@ -184,11 +184,12 @@ p { hyphens: auto; } -img, video { +img, +video { display: block; width: 100%; - object-fit: contain; - overflow: hidden; + height: 100%; + object-fit: cover; } img { font-style: italic;