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:
11 files changed
+41
-41
No files matched your search
@@ -1195,8 +1195,8 @@ export component FavoritesView inherits Rectangle {
|
||||
font-size: Typography.body;
|
||||
}
|
||||
if FavoritesState.playlists-view-mode != "list": playlists-grid := Rectangle {
|
||||
property <length> pl-w: 220px;
|
||||
property <length> pl-h: 266px;
|
||||
property <length> pl-w: 200px;
|
||||
property <length> pl-h: 246px;
|
||||
property <int> columns: Math.max(
|
||||
1,
|
||||
Math.floor((self.width + root.gap) / (self.pl-w + root.gap)));
|
||||
|
||||
Reference in new issue
Block a user