style(qbz-slint): album + playlist cards to 200px, fonts -2/-1

AlbumCard and PlaylistCard are now 200x246 (was 220x266), with the larger
texts -2px and the smaller ones -1px. All album/playlist carousels and grids
follow (card-width/height 200/246) so nothing reflows: Carousel,
PlaylistCarousel, AlbumCollectionView/AlbumGrid, ReleaseGrid, Spotlight,
HomeSkeleton, DiscoverBrowseView, SearchResultsView, FavoritesView. Artist /
radio cards are untouched.

cc
This commit is contained in:
vicrodh committed 2026-06-04 12:32:47 -06:00
1 parent 14e3e3689c
commit cdb5aa0072
11 files changed
+41 -41

No files matched your search

@@ -183,8 +183,8 @@ component AlbumGrid inherits Rectangle {
callback open(string);
callback media-action(string, string, string);
property <length> card-w: 220px;
property <length> card-h: 266px;
property <length> card-w: 200px;
property <length> card-h: 246px;
property <length> gap: 24px;
property <int> columns:
Math.max(1, Math.floor((self.width + root.gap) / (root.card-w + root.gap)));
@@ -242,8 +242,8 @@ component PlaylistGrid inherits Rectangle {
in property <[SearchPlaylistItem]> playlists;
callback media-action(string, string, string);
property <length> card-w: 220px;
property <length> card-h: 266px;
property <length> card-w: 200px;
property <length> card-h: 246px;
property <length> gap: 24px;
property <int> columns:
Math.max(1, Math.floor((self.width + root.gap) / (root.card-w + root.gap)));