From 47c2963280be2b3cdae64ae6d6188881ae494a8c Mon Sep 17 00:00:00 2001 From: Jonah Lawrence Date: Mon, 28 Aug 2023 18:28:32 -0600 Subject: [PATCH] Update gallery layout styling (#96) --- api/index.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/api/index.php b/api/index.php index bdcf7b8..4b2a010 100644 --- a/api/index.php +++ b/api/index.php @@ -142,10 +142,10 @@ if (isset($_GET['random'])) { .gallery { display: grid; - grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); + grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); grid-gap: 1em; - width: 95%; - max-width: 1200px; + width: calc(100% - 2em); + max-width: 3600px; margin: auto; } @@ -155,7 +155,7 @@ if (isset($_GET['random'])) { object-fit: cover; object-position: center; min-height: 122px; - border-radius: 8px; + border-radius: 0; display: flex; align-items: center; justify-content: center;