diff --git a/PulseHealth/Views/DashboardView.swift b/PulseHealth/Views/DashboardView.swift index 5085e37..0fac783 100644 --- a/PulseHealth/Views/DashboardView.swift +++ b/PulseHealth/Views/DashboardView.swift @@ -155,6 +155,7 @@ struct DashboardView: View { // Sleep if let sleep = latest?.sleep { SleepCard(sleep: sleep) + .frame(maxHeight: .infinity) } // Heart Rate @@ -167,6 +168,7 @@ struct DashboardView: View { color: Color(hex: "ff4757"), gradientColors: [Color(hex: "ff4757"), Color(hex: "ff6b81")] ) + .frame(maxHeight: .infinity) } // HRV @@ -179,11 +181,13 @@ struct DashboardView: View { color: Color(hex: "00d4aa"), gradientColors: [Color(hex: "00d4aa"), Color(hex: "00b894")] ) + .frame(maxHeight: .infinity) } // Steps if let steps = latest?.steps { StepsCard(steps: steps.total ?? 0) + .frame(maxHeight: .infinity) } } .padding(.horizontal)