From 203def722119f43cc0c0c6770e65b9b740eb2fa4 Mon Sep 17 00:00:00 2001 From: Salvador Rivera de Franco Date: Sun, 16 Aug 2026 00:59:33 -0700 Subject: Fixed image cropping in figures --- neuarriero.css | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/neuarriero.css b/neuarriero.css index 13282dd..9c3c8e4 100644 --- a/neuarriero.css +++ b/neuarriero.css @@ -153,13 +153,11 @@ figure { flex-wrap: wrap; gap: 0.5rem; } - - figure img { - max-width: 100%; - max-height: 15em; - min-height: 15em; + width: 100%; + aspect-ratio: 1 / 1; object-fit: cover; + display: block; } .fig { position: fixed; -- cgit v1.2.3