From ee7f06597df3adf4325984d98d9a1624e764bc3f Mon Sep 17 00:00:00 2001 From: Jake Runyan Date: Mon, 30 Dec 2024 14:06:35 -1000 Subject: [PATCH] Fix spacing in gallery --- src/components/Home.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Home.css b/src/components/Home.css index e771b97..06972e7 100644 --- a/src/components/Home.css +++ b/src/components/Home.css @@ -6,11 +6,11 @@ } .gallery-photo { - margin: 0.2vw; + margin: 0.66%; border-radius: 5px; display: block; height: auto; - max-width: 32vw; /* Do not mix with max-height! */ + width: calc(32%); object-fit: cover; }