Fix text truncation in onboarding views
Add .fixedSize(horizontal: false, vertical: true) to prevent multiline text from being clipped on smaller screens. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -52,6 +52,7 @@ struct OnboardingDay: View {
|
||||
.font(.body.weight(.medium))
|
||||
.foregroundColor(.white.opacity(0.85))
|
||||
.multilineTextAlignment(.center)
|
||||
.fixedSize(horizontal: false, vertical: true)
|
||||
.padding(.horizontal, 40)
|
||||
|
||||
Spacer()
|
||||
@@ -91,6 +92,7 @@ struct OnboardingDay: View {
|
||||
Text("Tip: \"Today\" works great for evening reminders")
|
||||
.font(.subheadline.weight(.medium))
|
||||
.foregroundColor(.white.opacity(0.9))
|
||||
.fixedSize(horizontal: false, vertical: true)
|
||||
}
|
||||
.padding(.horizontal, 30)
|
||||
.padding(.bottom, 80)
|
||||
|
||||
Reference in New Issue
Block a user