From cb8b17f5f4162cc9a0e36cbbc8af0442245395f4 Mon Sep 17 00:00:00 2001 From: "Tanner Collin (aider)" Date: Mon, 23 Jun 2025 12:56:51 -0600 Subject: [PATCH] refactor: Use inline-block for creations grid layout --- themes/theme/templates/style.css | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/themes/theme/templates/style.css b/themes/theme/templates/style.css index 6d38bde..8d7ed5e 100644 --- a/themes/theme/templates/style.css +++ b/themes/theme/templates/style.css @@ -36,8 +36,9 @@ } .index .creations { - display: flex; - flex-wrap: wrap; + /* Removed display: flex; and flex-wrap: wrap; */ + /* The container will now rely on the flow of inline-block children */ + text-align: center; /* Optional: to center the grid if it doesn't fill the width */ } .index .creations .creation a { @@ -45,9 +46,9 @@ } .creation > a { - display: flex; - flex-direction: column; - align-items: center; + display: inline-block; /* Changed from flex to inline-block */ + vertical-align: top; /* Align items at the top */ + /* Removed flex-direction and align-items as they are flex properties */ margin: 1rem; margin-bottom: 1.5rem;