fix(web): centre deck chips in their boxes
This commit is contained in:
+3
-1
@@ -1034,7 +1034,9 @@ body {
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
text-overflow: ellipsis;
|
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 {
|
.cw-score {
|
||||||
|
|||||||
Reference in New Issue
Block a user