Fix cut-off descenders in Analyse KPI tiles
Fluent sets a fixed 20px line height; the 24px tile values overflowed their box by 6px, and the ellipsis-truncated "Grösster Posten" value cut off the lower part of g, p, y. Use a relative line height for tile values. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
64494e2de8
commit
ab96ec0fd1
1 changed files with 3 additions and 0 deletions
|
|
@ -45,6 +45,9 @@
|
||||||
|
|
||||||
.kpi-value {
|
.kpi-value {
|
||||||
font-size: 24px;
|
font-size: 24px;
|
||||||
|
/* Fluent sets a fixed 20px line height; at 24px the descenders (g, p, y) would stick out of
|
||||||
|
the box and get cut where the text is truncated with an ellipsis. */
|
||||||
|
line-height: 1.3;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
margin: 4px 0 2px;
|
margin: 4px 0 2px;
|
||||||
font-variant-numeric: tabular-nums;
|
font-variant-numeric: tabular-nums;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue