diff options
| author | Salvador Rivera de Franco <husband@yorkshire.fig> | 2026-08-16 00:59:33 -0700 |
|---|---|---|
| committer | Salvador Rivera de Franco <husband@yorkshire.fig> | 2026-08-16 00:59:33 -0700 |
| commit | 203def722119f43cc0c0c6770e65b9b740eb2fa4 (patch) | |
| tree | 75c52ea71a4d87c9e023a4f64076b288d87033ae | |
| parent | 5a33c36fd9f8cd19415325712ff1d58b3876af45 (diff) | |
Fixed image cropping in figures
| -rw-r--r-- | neuarriero.css | 8 |
1 files 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; |
