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 {