fix(web): center NowPlaying star vertically with the whole track-info block
The favorite star lived inside .np-title-row, so it sat pinned to the title line rather than centered against the title + album + artist block. Move it out to be a flex sibling of .np-text inside .np-info (align-items:center), so it centers on the full text block. Bump SW cache to ns-v43. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
1 parent
e78ce43019
commit
179e0eb902
3 files changed
+6
-6
No files matched your search
+3
-3
@@ -1067,9 +1067,6 @@
|
||||
<div class="np-text">
|
||||
<div class="np-title-row">
|
||||
<div class="np-title" id="np-title">Kein Titel</div>
|
||||
<button class="np-star" id="np-star-btn" onclick="npToggleStar()">
|
||||
<svg id="np-star-icon" width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="rgba(255,255,255,.5)" stroke-width="2" style="transition:fill .2s,stroke .2s"><polygon points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"/></svg>
|
||||
</button>
|
||||
</div>
|
||||
<div class="np-artist">
|
||||
<span id="np-album-name" onclick="npGoAlbum()" style="cursor:pointer;opacity:.8">—</span>
|
||||
@@ -1078,6 +1075,9 @@
|
||||
<span id="np-artist-name">—</span>
|
||||
</div>
|
||||
</div>
|
||||
<button class="np-star" id="np-star-btn" onclick="npToggleStar()">
|
||||
<svg id="np-star-icon" width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="rgba(255,255,255,.5)" stroke-width="2" style="transition:fill .2s,stroke .2s"><polygon points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"/></svg>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div class="np-progress">
|
||||
|
||||
Reference in new issue
Block a user