fix(ui): Standardize scrollbar across all views

- Add consistent scrollbar styling to all view components
- Scrollbar is visible (subtle) by default, brighter on hover
- Position scrollbar 8px from right edge
- Each view now handles its own scroll container
This commit is contained in:
vicrodh committed 2026-01-11 22:08:57 -06:00
1 parent 8f60a42d7f
commit f4fe4b01c9
9 files changed
+169 -30

No files matched your search

@@ -243,6 +243,29 @@
<style>
.album-detail {
width: 100%;
height: 100%;
padding: 24px;
padding-right: 8px;
padding-bottom: 100px;
overflow-y: auto;
}
/* Custom scrollbar */
.album-detail::-webkit-scrollbar {
width: 6px;
}
.album-detail::-webkit-scrollbar-track {
background: transparent;
}
.album-detail::-webkit-scrollbar-thumb {
background: var(--bg-tertiary);
border-radius: 3px;
}
.album-detail::-webkit-scrollbar-thumb:hover {
background: var(--text-muted);
}
.back-btn {
@@ -407,7 +407,29 @@
<style>
.artist-detail {
width: 100%;
padding-bottom: 24px;
height: 100%;
padding: 24px;
padding-right: 8px;
padding-bottom: 100px;
overflow-y: auto;
}
/* Custom scrollbar */
.artist-detail::-webkit-scrollbar {
width: 6px;
}
.artist-detail::-webkit-scrollbar-track {
background: transparent;
}
.artist-detail::-webkit-scrollbar-thumb {
background: var(--bg-tertiary);
border-radius: 3px;
}
.artist-detail::-webkit-scrollbar-thumb:hover {
background: var(--text-muted);
}
.back-btn {
@@ -474,11 +474,30 @@
<style>
.favorites-view {
padding: 24px;
padding-right: 8px;
padding-bottom: 100px;
overflow-y: auto;
height: 100%;
}
/* Custom scrollbar */
.favorites-view::-webkit-scrollbar {
width: 6px;
}
.favorites-view::-webkit-scrollbar-track {
background: transparent;
}
.favorites-view::-webkit-scrollbar-thumb {
background: var(--bg-tertiary);
border-radius: 3px;
}
.favorites-view::-webkit-scrollbar-thumb:hover {
background: var(--text-muted);
}
.header {
display: flex;
align-items: center;
+23 -1
View File
@@ -669,10 +669,32 @@
<style>
.home-view {
width: 100%;
padding-bottom: 24px;
height: 100%;
padding: 24px;
padding-right: 8px;
padding-bottom: 100px;
overflow-y: auto;
position: relative;
}
/* Custom scrollbar */
.home-view::-webkit-scrollbar {
width: 6px;
}
.home-view::-webkit-scrollbar-track {
background: transparent;
}
.home-view::-webkit-scrollbar-thumb {
background: var(--bg-tertiary);
border-radius: 3px;
}
.home-view::-webkit-scrollbar-thumb:hover {
background: var(--text-muted);
}
/* Loading Overlay */
.loading-overlay {
position: fixed;
@@ -730,11 +730,30 @@
<style>
.library-view {
padding: 24px;
padding-right: 8px;
padding-bottom: 100px;
overflow-y: auto;
height: 100%;
}
/* Custom scrollbar */
.library-view::-webkit-scrollbar {
width: 6px;
}
.library-view::-webkit-scrollbar-track {
background: transparent;
}
.library-view::-webkit-scrollbar-thumb {
background: var(--bg-tertiary);
border-radius: 3px;
}
.library-view::-webkit-scrollbar-thumb:hover {
background: var(--text-muted);
}
/* Header */
.header {
display: flex;
@@ -773,11 +773,30 @@
<style>
.playlist-detail {
padding: 24px;
padding-right: 8px;
padding-bottom: 100px;
overflow-y: auto;
height: 100%;
}
/* Custom scrollbar */
.playlist-detail::-webkit-scrollbar {
width: 6px;
}
.playlist-detail::-webkit-scrollbar-track {
background: transparent;
}
.playlist-detail::-webkit-scrollbar-thumb {
background: var(--bg-tertiary);
border-radius: 3px;
}
.playlist-detail::-webkit-scrollbar-thumb:hover {
background: var(--text-muted);
}
.nav-row {
display: flex;
align-items: center;
@@ -465,11 +465,30 @@
<style>
.playlist-manager {
padding: 24px;
padding-right: 8px;
padding-bottom: 100px;
height: 100%;
overflow-y: auto;
}
/* Custom scrollbar */
.playlist-manager::-webkit-scrollbar {
width: 6px;
}
.playlist-manager::-webkit-scrollbar-track {
background: transparent;
}
.playlist-manager::-webkit-scrollbar-thumb {
background: var(--bg-tertiary);
border-radius: 3px;
}
.playlist-manager::-webkit-scrollbar-thumb:hover {
background: var(--text-muted);
}
.header {
display: flex;
align-items: center;
+23 -1
View File
@@ -444,7 +444,29 @@
<style>
.search-view {
width: 100%;
padding-bottom: 24px;
height: 100%;
padding: 24px;
padding-right: 8px;
padding-bottom: 100px;
overflow-y: auto;
}
/* Custom scrollbar */
.search-view::-webkit-scrollbar {
width: 6px;
}
.search-view::-webkit-scrollbar-track {
background: transparent;
}
.search-view::-webkit-scrollbar-thumb {
background: var(--bg-tertiary);
border-radius: 3px;
}
.search-view::-webkit-scrollbar-thumb:hover {
background: var(--text-muted);
}
.search-header {