From 2457fa41e328aa6ba87771df1a74a2aa589a5a68 Mon Sep 17 00:00:00 2001 From: elpatron Date: Sun, 31 May 2026 14:11:57 +0200 Subject: [PATCH] =?UTF-8?q?fix(profile):=20Profil-Statistiken=20auf=20Mobi?= =?UTF-8?q?lger=C3=A4ten=20platzsparender=20gestalten?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Cursor --- client/src/App.css | 53 +++++++++++++++++++++++ client/src/components/UserProfilePage.tsx | 4 +- 2 files changed, 55 insertions(+), 2 deletions(-) diff --git a/client/src/App.css b/client/src/App.css index 0878119..b7a51e8 100644 --- a/client/src/App.css +++ b/client/src/App.css @@ -3632,6 +3632,59 @@ html.theme-cupertino .events-scroll-container { .stats-kpi-value { font-size: 20px; } + + .profile-stats-section.form-card { + padding: 20px 16px; + } + + .profile-stats-section .form-header { + margin-bottom: 12px; + gap: 10px; + } + + .profile-stats-section .form-header h2 { + font-size: 18px; + } + + .profile-stats-section .stats-subtitle { + font-size: 12px; + line-height: 1.35; + } + + .profile-stats-kpi-grid { + grid-template-columns: repeat(2, minmax(0, 1fr)); + gap: 8px; + margin-top: 0; + } + + .profile-stats-kpi-grid .stats-kpi-card { + padding: 10px; + gap: 8px; + align-items: center; + } + + .profile-stats-kpi-grid .stats-kpi-icon { + margin-top: 0; + } + + .profile-stats-kpi-grid .stats-kpi-icon svg { + width: 16px; + height: 16px; + } + + .profile-stats-kpi-grid .stats-kpi-label { + font-size: 11px; + margin-bottom: 2px; + line-height: 1.25; + } + + .profile-stats-kpi-grid .stats-kpi-value { + font-size: 16px; + } + + .profile-stats-kpi-grid .stats-kpi-unit { + font-size: 11px; + } } .signature-grid { diff --git a/client/src/components/UserProfilePage.tsx b/client/src/components/UserProfilePage.tsx index f55c2c4..2f89d43 100644 --- a/client/src/components/UserProfilePage.tsx +++ b/client/src/components/UserProfilePage.tsx @@ -726,7 +726,7 @@ export default function UserProfilePage({ onBack, onLogout }: UserProfilePagePro -
+
@@ -736,7 +736,7 @@ export default function UserProfilePage({ onBack, onLogout }: UserProfilePagePro
{(statsTotals || profile) && ( -
+
} label={t('profile.stats_logbooks')}