Fix sticky nav gap and remove redundant tab counters
- Fixed gap between page top and sticky nav by adding negative margin-top Changed margin from '0 -24px 16px' to '-24px -24px 16px' - Removed tab counters (Albums (12), Artists (5), Tracks (252)) as they are redundant with the counters already displayed in page content Sticky nav now sits flush at the top with no gap when scrolling.
This commit is contained in:
1 parent
f48d857e0f
commit
e5b4f68338
1 file changed
+4
-4
@@ -1892,21 +1892,21 @@
|
||||
class:active={activeTab === 'albums'}
|
||||
onclick={() => handleTabChange('albums')}
|
||||
>
|
||||
Albums ({filteredAlbumCount})
|
||||
Albums
|
||||
</button>
|
||||
<button
|
||||
class="jump-link"
|
||||
class:active={activeTab === 'artists'}
|
||||
onclick={() => handleTabChange('artists')}
|
||||
>
|
||||
Artists ({filteredArtistCount})
|
||||
Artists
|
||||
</button>
|
||||
<button
|
||||
class="jump-link"
|
||||
class:active={activeTab === 'tracks'}
|
||||
onclick={() => handleTabChange('tracks')}
|
||||
>
|
||||
Tracks ({filteredTrackCount})
|
||||
Tracks
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -3034,7 +3034,7 @@
|
||||
padding: 12px 24px;
|
||||
background-color: var(--bg-primary);
|
||||
border-bottom: 1px solid var(--bg-tertiary);
|
||||
margin: 0 -24px 16px;
|
||||
margin: -24px -24px 16px;
|
||||
}
|
||||
|
||||
.jump-nav-left {
|
||||
|
||||
Reference in new issue
Block a user