From e65533167c0ddf6214af6c4ef241a8989392060c Mon Sep 17 00:00:00 2001 From: David Dal Busco Date: Sun, 18 Aug 2024 17:36:50 +0200 Subject: [PATCH] style: design Signed-off-by: David Dal Busco --- .../AnalyticsPerformanceMetrics.svelte | 158 ++++++++++-------- 1 file changed, 85 insertions(+), 73 deletions(-) diff --git a/src/frontend/src/lib/components/analytics/AnalyticsPerformanceMetrics.svelte b/src/frontend/src/lib/components/analytics/AnalyticsPerformanceMetrics.svelte index 3b603d1b2..8bd8ef774 100644 --- a/src/frontend/src/lib/components/analytics/AnalyticsPerformanceMetrics.svelte +++ b/src/frontend/src/lib/components/analytics/AnalyticsPerformanceMetrics.svelte @@ -1,62 +1,68 @@
- + @@ -65,33 +71,33 @@ - - + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + +
{$i18n.analytics.web_vitals} {$i18n.analytics.web_vitals} {$i18n.analytics.score} {$i18n.analytics.rating}
{@html $i18n.analytics.ttfb}{formatNumber(ttfb)}{$i18n.analytics[ttfbRating]}{formatNumber(ttfb)}{$i18n.analytics[ttfbRating]}
{@html $i18n.analytics.fcp}{formatNumber(fcp)}{$i18n.analytics[fcpRating]}
{@html $i18n.analytics.lcp}{formatNumber(lcp)}{$i18n.analytics[lcpRating]}
{@html $i18n.analytics.fcp}{formatNumber(fcp)}{$i18n.analytics[fcpRating]}
{@html $i18n.analytics.lcp}{formatNumber(lcp)}{$i18n.analytics[lcpRating]}
{@html $i18n.analytics.cls}{formatNumber(cls)}{$i18n.analytics[clsRating]}
{@html $i18n.analytics.inp}{formatNumber(inp)}{$i18n.analytics[inpRating]}
{@html $i18n.analytics.cls}{formatNumber(cls)}{$i18n.analytics[clsRating]}
{@html $i18n.analytics.inp}{formatNumber(inp)}{$i18n.analytics[inpRating]}
@@ -99,9 +105,15 @@