Skip to content

Commit 6db6b24

Browse files
Fix alert title text truncation by enabling line wrapping with .fixedSize
1 parent 74db724 commit 6db6b24

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/ComponentsKit/Components/Alert/SUAlert.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ struct AlertContent: View {
6060
.foregroundStyle(UniversalColor.foreground.color)
6161
.multilineTextAlignment(.center)
6262
.frame(maxWidth: .infinity)
63+
.fixedSize(horizontal: false, vertical: true)
6364
}
6465

6566
func message(_ text: String) -> some View {

0 commit comments

Comments
 (0)