Adjust onboarding header to short step label and top-align step content
This commit is contained in:
@@ -17,6 +17,14 @@ struct CalendarStepView: View {
|
||||
var body: some View {
|
||||
ScrollView {
|
||||
VStack(spacing: 24) {
|
||||
Text("calendar_title")
|
||||
.font(.mealMoodH1)
|
||||
.foregroundColor(.mealMoodTextPrimary)
|
||||
.multilineTextAlignment(.leading)
|
||||
.frame(maxWidth: .infinity, alignment: .leading)
|
||||
.padding(.horizontal, 24)
|
||||
.padding(.top, 12)
|
||||
|
||||
VStack(spacing: 16) {
|
||||
// iCloud sync toggle
|
||||
HStack {
|
||||
@@ -115,7 +123,6 @@ struct CalendarStepView: View {
|
||||
}
|
||||
}
|
||||
.padding(.horizontal, 24)
|
||||
.padding(.top, 24)
|
||||
|
||||
Text("calendar_optional")
|
||||
.font(.mealMoodSmall)
|
||||
|
||||
Reference in New Issue
Block a user