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
+2
-2
@@ -680,8 +680,8 @@ button:focus{outline:none}
|
||||
.np-cover .no-art{width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:80px}
|
||||
|
||||
/* Song info */
|
||||
.np-info{width:100%;margin-bottom:24px}
|
||||
.np-text{min-width:0}
|
||||
.np-info{width:100%;margin-bottom:24px;display:flex;align-items:center;gap:10px}
|
||||
.np-text{min-width:0;flex:1}
|
||||
.np-title-row{display:flex;align-items:center;gap:6px;margin-bottom:5px}
|
||||
.np-title{font-size:22px;font-weight:800;letter-spacing:-.4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1;min-width:0}
|
||||
.np-artist{font-size:14px;color:rgba(255,255,255,.5);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:color .15s}
|
||||
|
||||
Reference in new issue
Block a user