From ab96ec0fd19e8634fa99765adaf605745781d3ec Mon Sep 17 00:00:00 2001 From: Claudio Schaad Date: Thu, 22 Oct 2026 18:42:02 +0200 Subject: [PATCH] Fix cut-off descenders in Analyse KPI tiles MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- .../Components/Pages/Analytics/Analytics.razor.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Schaad.Accounting.UI/Components/Pages/Analytics/Analytics.razor.css b/Schaad.Accounting.UI/Components/Pages/Analytics/Analytics.razor.css index bcd6f47..db84fda 100644 --- a/Schaad.Accounting.UI/Components/Pages/Analytics/Analytics.razor.css +++ b/Schaad.Accounting.UI/Components/Pages/Analytics/Analytics.razor.css @@ -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;