Constrain home album artwork size

This commit is contained in:
lucast committed 2026-10-07 23:25:41 +02:00
1 parent 2ccfbff285
commit 73b1d3513c
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -21,7 +21,7 @@ struct AlbumArtworkView: View {
artworkPlaceholder
}
}
.frame(width: geometry.size.width, height: geometry.size.height)
.frame(width: geometry.size.width, height: geometry.size.width)
.clipped()
}
.aspectRatio(1, contentMode: .fit)
+1
View File
@@ -120,6 +120,7 @@ private struct HomeAlbumCard: View {
var body: some View {
VStack(alignment: .leading, spacing: 5) {
AlbumArtworkView(url: artworkURL)
.frame(maxWidth: 150)
Text(album.name)
.font(.subheadline.weight(.medium))