From 0c92385c56f83aaf7030fe75768c21cbf04dbeee Mon Sep 17 00:00:00 2001 From: afkarxyz Date: Thu, 27 Nov 2025 14:14:19 +0700 Subject: [PATCH] v6.4 --- frontend/src/components/TrackList.tsx | 2 +- frontend/src/index.css | 48 +++++++++++++++++++++++++++ 2 files changed, 49 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/TrackList.tsx b/frontend/src/components/TrackList.tsx index 883e349..f6c8538 100644 --- a/frontend/src/components/TrackList.tsx +++ b/frontend/src/components/TrackList.tsx @@ -327,8 +327,8 @@ export function TrackList({
- +
) : (

Check Availability

diff --git a/frontend/src/index.css b/frontend/src/index.css index 2f74792..1923432 100644 --- a/frontend/src/index.css +++ b/frontend/src/index.css @@ -196,3 +196,51 @@ .dark [data-sonner-toast][data-type="info"] [data-icon] { @apply text-blue-400; } + +/* Custom Scrollbar - mengikuti primary color theme */ +::-webkit-scrollbar { + width: 8px; + height: 8px; +} + +::-webkit-scrollbar-track { + background: var(--secondary); + border-radius: 4px; +} + +::-webkit-scrollbar-thumb { + background: var(--primary); + border-radius: 4px; + opacity: 0.7; +} + +::-webkit-scrollbar-thumb:hover { + background: var(--primary); + filter: brightness(1.2); +} + +/* Firefox scrollbar support */ +* { + scrollbar-width: thin; + scrollbar-color: var(--primary) var(--secondary); +} + +/* Custom scrollbar class untuk komponen tertentu */ +.custom-scrollbar::-webkit-scrollbar { + width: 6px; + height: 6px; +} + +.custom-scrollbar::-webkit-scrollbar-track { + background: var(--muted); + border-radius: 3px; +} + +.custom-scrollbar::-webkit-scrollbar-thumb { + background: var(--primary); + border-radius: 3px; +} + +.custom-scrollbar::-webkit-scrollbar-thumb:hover { + filter: brightness(1.2); +}