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:
Claudio Schaad 2026-10-22 18:42:02 +02:00
parent 64494e2de8
commit ab96ec0fd1

View file

@ -45,6 +45,9 @@
.kpi-value {
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;
margin: 4px 0 2px;
font-variant-numeric: tabular-nums;