From e99a5b76b1278ab513c3c6d71e5d216036050980 Mon Sep 17 00:00:00 2001 From: gunshiz Date: Sat, 26 Sep 2026 23:28:16 +0700 Subject: [PATCH] feat : add custom overflow bar --- app/globals.css | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/app/globals.css b/app/globals.css index e8fed57..0bc92ed 100644 --- a/app/globals.css +++ b/app/globals.css @@ -125,6 +125,24 @@ @layer base { * { @apply border-border outline-ring/50; + scrollbar-color: var(--border) transparent; + scrollbar-width: thin; + } + + *::-webkit-scrollbar { + width: 0.625rem; + height: 0.625rem; + } + + *::-webkit-scrollbar-track { + background: transparent; + } + + *::-webkit-scrollbar-thumb { + border: 1px solid transparent; + border-radius: 9999px; + background: var(--border); + background-clip: padding-box; } html {