From 9b2e2f1cd46265c353b4137038c58de65bf451e5 Mon Sep 17 00:00:00 2001 From: Rhiannon Morris Date: Mon, 21 Sep 2020 21:56:06 +0200 Subject: [PATCH] fix index layout for odd number of items --- style/shiny/index.css | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/style/shiny/index.css b/style/shiny/index.css index 4d63b0f..35af3ac 100644 --- a/style/shiny/index.css +++ b/style/shiny/index.css @@ -62,13 +62,12 @@ body { .list { - display: grid; - margin: 0; - padding: 0; - grid-template-columns: 50% 50%; - grid-gap: 1em 1.5em; + display: flex; + flex-wrap: wrap; align-items: center; - justify-content: center; + justify-content: space-evenly; + padding: 0; + grid-gap: 1.5em 0; font-size: 175%; }