ui: add horizontal breathing room to subtitles
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user