From 42ead722c610a0b2ce63e7c0f4b8228b40e8409b Mon Sep 17 00:00:00 2001 From: Frank Tovar Date: Mon, 2 Feb 2026 19:47:40 +0100 Subject: [PATCH] Cap card grid at three columns --- wwwroot/styles.css | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/wwwroot/styles.css b/wwwroot/styles.css index 7c10023..710888f 100644 --- a/wwwroot/styles.css +++ b/wwwroot/styles.css @@ -130,7 +130,16 @@ button.ghost { background: transparent; border-color: #d5c7b5; color: #2c1c0d; } .hint.warning { color: #c26c1a; } .disabled-form { opacity: 0.5; pointer-events: none; } -.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-top: 12px; } +.card-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); + gap: 12px; + margin-top: 12px; + width: 100%; + max-width: 900px; + margin-inline: auto; +} +.results-grid { max-width: none; } .game-card { background: #fffaf3;