ui: add horizontal breathing room to subtitles

This commit is contained in:
2026-10-13 16:36:54 +02:00
parent 4ef8ceee24
commit 74b4bfe6c1
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -1740,7 +1740,8 @@ private struct PlayerContent: View {
.foregroundStyle(.white)
.multilineTextAlignment(.center)
.fixedSize(horizontal: false, vertical: true)
.padding(12)
.padding(.horizontal, 24)
.padding(.vertical, 12)
.background(PlayerGlass().opacity(0.6)
.clipShape(RoundedRectangle(cornerRadius: 12)).allowsHitTesting(false))
.frame(maxWidth: geometry.size.width * 0.8)