diff --git a/NucleicRemote/NucleicRemote/Views/HomeView.swift b/NucleicRemote/NucleicRemote/Views/HomeView.swift index acddf44..9dd27f5 100644 --- a/NucleicRemote/NucleicRemote/Views/HomeView.swift +++ b/NucleicRemote/NucleicRemote/Views/HomeView.swift @@ -99,7 +99,10 @@ struct HomeView: View { } private var statCards: some View { - HStack(spacing: 12) { + // Flow the cards into two rows (3 + 2) so each gets ~a third of the width rather than a + // fifth — enough room for labels like "In progress" and full token counts to render cleanly + // instead of wrapping or truncating. + LazyVGrid(columns: Array(repeating: GridItem(.flexible(), spacing: 12), count: 3), spacing: 12) { StatCard(value: counts.projects, label: "Projects", icon: "folder") StatCard(value: running.count, label: "In progress", icon: "circle.lefthalf.filled") StatCard(value: counts.activeChats, label: "Active", icon: "bolt")