Polish onboarding layout with fixed header, back nav, and consistent step framing

This commit is contained in:
alexandrev-tibco
2026-02-26 10:53:46 +01:00
parent 3937abeb6e
commit 3d72d53889
8 changed files with 78 additions and 46 deletions
@@ -17,13 +17,6 @@ struct CalendarStepView: View {
var body: some View {
ScrollView {
VStack(spacing: 24) {
Text("calendar_title")
.font(.mealMoodH2)
.foregroundColor(.mealMoodTextPrimary)
.frame(maxWidth: .infinity, alignment: .leading)
.padding(.horizontal, 24)
.padding(.top, 32)
VStack(spacing: 16) {
// iCloud sync toggle
HStack {
@@ -122,6 +115,7 @@ struct CalendarStepView: View {
}
}
.padding(.horizontal, 24)
.padding(.top, 24)
Text("calendar_optional")
.font(.mealMoodSmall)