From 0cc9552f47da0da6549bb4a5ed31e527e17393c0 Mon Sep 17 00:00:00 2001 From: Fluffy-Bean Date: Fri, 3 Mar 2023 01:08:36 +0000 Subject: [PATCH] Fix gallery grid --- gallery/themes/default/ui/gallery.sass | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/gallery/themes/default/ui/gallery.sass b/gallery/themes/default/ui/gallery.sass index aa0ef02..3c7e49b 100644 --- a/gallery/themes/default/ui/gallery.sass +++ b/gallery/themes/default/ui/gallery.sass @@ -5,13 +5,9 @@ width: 100% display: grid - grid-template-columns: auto auto auto auto auto auto + grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) gap: 0.5rem -@media (max-width: 1300px) - .gallery - grid-template-columns: auto auto auto auto - @media (max-width: 800px) .gallery grid-template-columns: auto auto auto