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:
@@ -38,6 +38,7 @@ struct OnboardingStyle: View {
|
||||
.font(.body.weight(.medium))
|
||||
.foregroundColor(.white.opacity(0.85))
|
||||
.multilineTextAlignment(.center)
|
||||
.fixedSize(horizontal: false, vertical: true)
|
||||
.padding(.horizontal, 32)
|
||||
.padding(.bottom, 24)
|
||||
|
||||
@@ -70,6 +71,7 @@ struct OnboardingStyle: View {
|
||||
.font(.subheadline)
|
||||
Text("You can change this anytime in Customize")
|
||||
.font(.caption.weight(.medium))
|
||||
.fixedSize(horizontal: false, vertical: true)
|
||||
}
|
||||
.foregroundColor(.white.opacity(0.7))
|
||||
.padding(.top, 24)
|
||||
|
||||
Reference in New Issue
Block a user