fix: remove horizontal scroll caused by jump-nav overflow
The jump-nav sticky header uses negative margins to extend beyond the container padding. The right margin was -16px (or -32px in Settings) but the container only has 8px (or 24px) of right padding, causing 8px of horizontal overflow. Fixed by matching the negative right margin to the actual padding: - ArtistDetailView: -16px → -8px, width calc(100%+40px) → calc(100%+32px) - FavoritesView: -16px → -8px, width calc(100%+40px) → calc(100%+32px) - LocalLibraryView: -16px → -8px, width calc(100%+40px) → calc(100%+32px) - SettingsView: -32px → -24px, width calc(100%+64px) → calc(100%+56px)
This commit is contained in:
1 parent
d721859046
commit
b296d3091b
4 files changed
+8
-8
No files matched your search
@@ -2128,8 +2128,8 @@ flatpak override --user --filesystem=$HOME/music-nas com.blitzfc.qbz</pre>
|
||||
flex-wrap: wrap;
|
||||
gap: 16px;
|
||||
padding: 12px 32px;
|
||||
margin: 0 -32px 24px -32px;
|
||||
width: calc(100% + 64px);
|
||||
margin: 0 -24px 24px -32px;
|
||||
width: calc(100% + 56px);
|
||||
background: var(--bg-primary);
|
||||
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
|
||||
box-shadow: 0 4px 8px -4px rgba(0, 0, 0, 0.5);
|
||||
|
||||
Reference in new issue
Block a user