fix: the player bar's heart is Lucide's, outlined then filled as on Android, and its title and artist read at the size of the rest of the page (#5580)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -290,23 +290,27 @@
|
||||
onerror={onCoverError}
|
||||
/>
|
||||
</a>
|
||||
<div class="min-w-0 flex-1">
|
||||
<div class="truncate text-sm font-medium text-text-primary">{current.title}</div>
|
||||
<!-- Sized to the 96px cover beside it: the title reads at body size,
|
||||
as Android's mini player gives it title weight. -->
|
||||
<div class="min-w-0 flex-1 space-y-0.5">
|
||||
<div class="truncate text-base font-medium text-text-primary">{current.title}</div>
|
||||
<a
|
||||
href={`/artists/${current.artist_id}`}
|
||||
class="block truncate text-xs text-text-secondary hover:text-text-primary"
|
||||
class="block truncate text-sm text-text-secondary hover:text-text-primary"
|
||||
>
|
||||
{current.artist_name}
|
||||
</a>
|
||||
{#if player.queue.length > player.index + 1}
|
||||
{@const nextTrack = player.queue[player.index + 1]}
|
||||
<span class="block truncate text-xs text-text-secondary">
|
||||
<span class="block truncate pt-1 text-xs text-text-muted">
|
||||
Next · {nextTrack.title} — {nextTrack.artist_name}
|
||||
</span>
|
||||
{/if}
|
||||
</div>
|
||||
<LikeButton entityType="track" entityId={current.id} />
|
||||
<TrackMenu track={current} direction="up" hideQueueActions />
|
||||
<div class="flex shrink-0 items-center">
|
||||
<LikeButton entityType="track" entityId={current.id} />
|
||||
<TrackMenu track={current} direction="up" hideQueueActions />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Center: seek row + transport row -->
|
||||
|
||||
Reference in New Issue
Block a user