Tighten inline player layout

This commit is contained in:
lucast committed 2026-10-07 22:51:01 +02:00
1 parent f4721a5a21
commit 0f26b58933
3 files changed
+3 -5

No files matched your search

+2
View File
@@ -62,6 +62,7 @@ struct MiniPlayerView: View {
.truncationMode(.tail)
}
.frame(maxWidth: .infinity, alignment: .leading)
.layoutPriority(-1)
Button {
displayedIsPlaying.toggle()
@@ -84,6 +85,7 @@ struct MiniPlayerView: View {
.buttonStyle(.plain)
.accessibilityLabel("Next track")
}
.frame(maxWidth: .infinity)
.frame(height: 32)
.padding(.leading, usesCompactLayout ? 10 : 16)
.padding(.trailing, usesCompactLayout ? 9 : 14)