fix(artist): jump-nav full width and consistent section headers

- Fix jump-nav to span 100% of content width with proper margins
- Make Popular Tracks section header consistent with other sections
- Add track count badge to Popular Tracks
- Remove unused section-header-row CSS
This commit is contained in:
vicrodh committed 2026-01-23 17:14:54 -06:00
1 parent 77e4619e7b
commit cc6d14e24b
1 file changed
+9 -14
@@ -962,8 +962,13 @@
<!-- Top Tracks Section -->
{#if topTracks.length > 0 || tracksLoading}
<div class="top-tracks-section section-anchor" bind:this={topTracksSection}>
<div class="section-header-row">
<h2 class="section-title">Popular Tracks</h2>
<div class="section-header">
<div class="section-header-left">
<h2 class="section-title">Popular Tracks</h2>
{#if topTracks.length > 0}
<span class="section-count">{topTracks.length}</span>
{/if}
</div>
{#if topTracks.length > 0}
<button class="play-all-btn" onclick={handlePlayAllTracks}>
<Play size={14} fill="white" color="white" />
@@ -1663,7 +1668,8 @@
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
margin: 0 -24px 24px;
margin: 0 -8px 24px -24px;
width: calc(100% + 32px);
}
.jump-nav-left {
@@ -2129,17 +2135,6 @@
margin-bottom: 0;
}
.section-header-row {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 16px;
}
.section-header-row .section-title {
margin-bottom: 0;
}
.play-all-btn {
display: flex;
align-items: center;