From f866ce02cbbca481cfdbaa2078cff7abdf46cbae Mon Sep 17 00:00:00 2001 From: Tim Bendt Date: Thu, 9 Apr 2026 14:56:18 -0400 Subject: [PATCH] Fix: increase player card padding and ensure cell nodes stay circular --- src/styles.css | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/styles.css b/src/styles.css index a1baaee..056baf4 100644 --- a/src/styles.css +++ b/src/styles.css @@ -126,7 +126,7 @@ html, body { .score-card { border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 1rem; - padding: 0.75rem 1rem; + padding: 1rem 1.25rem; background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06); display: flex; @@ -197,13 +197,12 @@ html, body { } .cell__node { - width: min(40%, 1.4rem); - height: min(40%, 1.4rem); - min-width: 8px; - min-height: 8px; + width: clamp(8px, 35%, 1.2rem); + height: clamp(8px, 35%, 1.2rem); border-radius: 50%; background: var(--node-color); box-shadow: 0 0 0 0.15rem rgba(255, 255, 255, 0.06), 0 0 1rem var(--node-glow); + aspect-ratio: 1 / 1; } .cell.selected {