From b5e31c8fef2e7f32f6e459ad830f0530d8ce7d14 Mon Sep 17 00:00:00 2001 From: conanak99 Date: Mon, 27 Feb 2023 22:30:52 +0800 Subject: [PATCH] fix responsive issue --- extensions/gallery/script.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/gallery/script.py b/extensions/gallery/script.py index 3743dd04..91c79c8c 100644 --- a/extensions/gallery/script.py +++ b/extensions/gallery/script.py @@ -10,7 +10,7 @@ def generate_html(): .character-gallery { margin: 1rem 0; display: grid; - grid-template-columns: repeat(4, minmax(150px, 1fr)); + grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); grid-column-gap: 0.4rem; grid-row-gap: 1.2rem; }