feat(ui): move stack icon to artist/album area

Icon now appears before artist/album metadata instead of title.

Changes:
- NowPlayingBar: icon in song-meta row (size 12px)
- ExpandedPlayer: icon in new artist-album-row with separator (size 16px)
- Removed song-title-row wrapper (not needed)
- Icon placement: [icon] Artist · Album

Remaining: FocusMode and MiniPlayer (next commit)

cp
This commit is contained in:
vicrodh committed 2026-01-18 03:15:49 -06:00
1 parent 17cd6f0ae2
commit 2071149747
2 files changed
+33 -16

No files matched your search

+7 -6
View File
@@ -295,11 +295,9 @@
</button>
<div class="song-info">
<div class="song-title-row">
<StackIcon size={14} class="stack-icon" />
<span class="song-title" title={trackTitle}>{trackTitle}</span>
</div>
<span class="song-title" title={trackTitle}>{trackTitle}</span>
<div class="song-meta">
<StackIcon size={12} class="stack-icon" />
{#if artist}
<button class="meta-link" onclick={onArtistClick} title={$t('actions.goToArtist')}>
{artist}
@@ -701,8 +699,6 @@
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
flex: 1;
min-width: 0;
}
.song-meta {
@@ -715,6 +711,11 @@
overflow: hidden;
}
.song-meta :global(.stack-icon) {
flex-shrink: 0;
margin-right: 2px;
}
.meta-link {
background: none;
border: none;