From 53da277ee56757472b2f95684de38e601bc2dc71 Mon Sep 17 00:00:00 2001 From: Elijah Steres Date: Tue, 29 Dec 2020 22:29:28 -0500 Subject: [PATCH] tiny tweaks trying to fix wide team names not getting shortened --- static/games_page.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/static/games_page.css b/static/games_page.css index fd2aabd..999f63f 100644 --- a/static/games_page.css +++ b/static/games_page.css @@ -7,7 +7,7 @@ body { .container { font-family: 'Alegreya', serif; display: grid; - grid-template-columns: 1fr 1fr 1fr; + grid-template-columns: repeat(auto-fill, minmax(500px, 1fr)); grid-template-rows: 100px 330px; grid-gap: 50px 30px; /*space between rows, then columns*/ align-items: center; @@ -34,6 +34,7 @@ body { justify-self: stretch; text-align: center; color: white; + flex: 1; } .game { @@ -51,6 +52,7 @@ body { border-top: none; border-right: none; border-bottom: none; + flex: 1; } h2 { @@ -95,6 +97,7 @@ h2 { display: flex; flex-direction: column; justify-content: space-around; + flex: 1; } .team {