fix(web): genre fans grow with their band, and short shelves fill the row
release / go (push) Successful in 1m51s
release / web (push) Successful in 1m31s
release / govulncheck (push) Successful in 20s
release / integration (push) Successful in 4m22s
release / android (push) Successful in 4m58s
release / Build signed APK (push) Successful in 5m6s
release / Attach APK to the Release (tag releases only) (push) Skipped
release / Build + push container image (push) Successful in 27s
release / Verify release artifacts (tag releases only) (push) Skipped
release / go (push) Successful in 1m51s
release / web (push) Successful in 1m31s
release / govulncheck (push) Successful in 20s
release / integration (push) Successful in 4m22s
release / android (push) Successful in 4m58s
release / Build signed APK (push) Successful in 5m6s
release / Attach APK to the Release (tag releases only) (push) Skipped
release / Build + push container image (push) Successful in 27s
release / Verify release artifacts (tag releases only) (push) Skipped
A genre band's fan of covers is sized to the band's height (74% of it), larger than before, and may run under the genre's name again; the name sits on a dark translucent backing that keeps it readable over any cover. A shelf with fewer items than fit across the page now splits the whole width between them, so no shelf ends partway across. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -179,7 +179,7 @@
|
||||
rows={[playlistsRow]}
|
||||
title="Playlists"
|
||||
meta={shelfMeta(realPlaylists)}
|
||||
fit={{ min: 352, max: 480 }}
|
||||
fit={{ min: 352 }}
|
||||
ariaLabel="Playlists"
|
||||
>
|
||||
{#snippet item(rowItem: PlaylistRowItem)}
|
||||
@@ -209,7 +209,7 @@
|
||||
rows={[songsLikeRow]}
|
||||
title="Songs like…"
|
||||
meta={shelfMeta(songsLikePlaylists)}
|
||||
fit={{ min: 144, max: 200 }}
|
||||
fit={{ min: 144 }}
|
||||
ariaLabel="Songs like"
|
||||
>
|
||||
{#snippet item(rowItem: PlaylistRowItem)}
|
||||
@@ -240,7 +240,7 @@
|
||||
rows={[genreMixPlaylists]}
|
||||
title="Your genres"
|
||||
meta={shelfMeta(genreMixPlaylists)}
|
||||
fit={{ min: 240, max: 320 }}
|
||||
fit={{ min: 240 }}
|
||||
ariaLabel="Your genres"
|
||||
>
|
||||
{#snippet item(playlist: Playlist)}
|
||||
@@ -278,7 +278,7 @@
|
||||
<HorizontalScrollRow
|
||||
rows={[data.you_might_like_albums]}
|
||||
title="You might like"
|
||||
fit={{ min: 144, max: 200 }}
|
||||
fit={{ min: 144 }}
|
||||
ariaLabel="You might like albums"
|
||||
>
|
||||
{#snippet item(album: import('#lib/api/types.js').AlbumRef)}
|
||||
@@ -290,7 +290,7 @@
|
||||
<HorizontalScrollRow
|
||||
rows={[data.you_might_like_artists]}
|
||||
title={data.you_might_like_albums.length === 0 ? 'You might like' : undefined}
|
||||
fit={{ min: 128, max: 176 }}
|
||||
fit={{ min: 128 }}
|
||||
ariaLabel="You might like artists"
|
||||
>
|
||||
{#snippet item(artist: import('#lib/api/types.js').ArtistRef)}
|
||||
@@ -312,7 +312,7 @@
|
||||
<HorizontalScrollRow
|
||||
rows={chunk(data.recently_added_albums, 25)}
|
||||
title="Recently added"
|
||||
fit={{ min: 176, max: 240 }}
|
||||
fit={{ min: 176 }}
|
||||
ariaLabel="Recently added"
|
||||
>
|
||||
{#snippet item(album: import('#lib/api/types.js').AlbumRef)}
|
||||
@@ -336,7 +336,7 @@
|
||||
<HorizontalScrollRow
|
||||
rows={[data.rediscover_albums]}
|
||||
title="Rediscover"
|
||||
fit={{ min: 144, max: 200 }}
|
||||
fit={{ min: 144 }}
|
||||
ariaLabel="Rediscover albums"
|
||||
>
|
||||
{#snippet item(album: import('#lib/api/types.js').AlbumRef)}
|
||||
@@ -351,7 +351,7 @@
|
||||
<HorizontalScrollRow
|
||||
rows={[data.rediscover_artists]}
|
||||
title={data.rediscover_albums.length === 0 ? 'Rediscover' : undefined}
|
||||
fit={{ min: 128, max: 176 }}
|
||||
fit={{ min: 128 }}
|
||||
ariaLabel="Rediscover artists"
|
||||
>
|
||||
{#snippet item(artist: import('#lib/api/types.js').ArtistRef)}
|
||||
@@ -397,7 +397,7 @@
|
||||
<HorizontalScrollRow
|
||||
rows={[data.last_played_artists]}
|
||||
title="Last played"
|
||||
fit={{ min: 128, max: 176 }}
|
||||
fit={{ min: 128 }}
|
||||
ariaLabel="Last played artists"
|
||||
>
|
||||
{#snippet item(artist: import('#lib/api/types.js').ArtistRef)}
|
||||
|
||||
Reference in New Issue
Block a user