From af8cd4e5fbef57a644c94a8645bec4a29716b7a9 Mon Sep 17 00:00:00 2001 From: bingus_violet Date: Thu, 14 Nov 2024 02:16:31 -0600 Subject: [PATCH] Use flex instead of grids --- static/style.css | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/static/style.css b/static/style.css index 178066c..f9e675c 100644 --- a/static/style.css +++ b/static/style.css @@ -92,12 +92,13 @@ h3 { @media screen and (min-width: 650px) { .grid-container { - display: grid; - grid-template-columns: 1fr 1fr; - grid-gap: 10px; + display: flex; + flex-wrap: wrap; + justify-content: center; } .grid-child { + flex: 0 0 calc(50% - 5px); margin: auto; align-content: center; /* border: 2px white solid; */