From 7b84f89b658c3cee58c88e33fb8a28749d0d976a Mon Sep 17 00:00:00 2001 From: Mohammed Abad Date: Sun, 3 May 2026 01:32:55 +0100 Subject: [PATCH] feat(frontend): Added custom scrollbar --- react_frontend/src/index.css | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/react_frontend/src/index.css b/react_frontend/src/index.css index cecace3..dff0c02 100644 --- a/react_frontend/src/index.css +++ b/react_frontend/src/index.css @@ -123,6 +123,26 @@ @layer base { * { @apply border-border outline-ring/50; + scrollbar-width: thin; + scrollbar-color: #3a3a3a #1a1a1a; + } + *::-webkit-scrollbar { + width: 6px; + height: 6px; + } + *::-webkit-scrollbar-track { + background: #1a1a1a; + border-radius: 3px; + } + *::-webkit-scrollbar-thumb { + background: #3a3a3a; + border-radius: 3px; + } + *::-webkit-scrollbar-thumb:hover { + background: #5a5a5a; + } + *::-webkit-scrollbar-corner { + background: #1a1a1a; } body { @apply bg-background text-foreground;