From fada2ff89a103fcc5f00659d9b082bcef367ea4d Mon Sep 17 00:00:00 2001 From: Miguel Palhas Date: Mon, 24 Aug 2026 16:24:53 +0100 Subject: [PATCH] fix(web): centre deck chips in their boxes --- web/src/style.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/web/src/style.css b/web/src/style.css index 93e5fc6..3177b3e 100644 --- a/web/src/style.css +++ b/web/src/style.css @@ -1034,7 +1034,9 @@ body { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; - line-height: 1.25rem; + /* single nowrap line: line-height equal to the box height centres it, + and keeps ellipsis + text-align working, which flex would break */ + line-height: var(--control-h); } .cw-score {