From 3f0265cba22c33615c2285aeedb35d36fec0b420 Mon Sep 17 00:00:00 2001 From: Pranav Deshmukh Date: Sun, 23 Feb 2025 12:28:18 +0530 Subject: [PATCH] Updated scroll-bar to take less space in every component --- src/main.scss | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/src/main.scss b/src/main.scss index 2dcbdfd6b..b27b17986 100644 --- a/src/main.scss +++ b/src/main.scss @@ -10,3 +10,24 @@ /* You can add global styles to this file, and also import other style files */ @use 'assets/styles/helper'; + +.scrollbar-styling { + scrollbar-width: thin; + scrollbar-color: #889 #f1f1f1; +} + +::-webkit-scrollbar { + width: 8px; +} + +::-webkit-scrollbar-track { + background: #f1f1f1; +} + +::-webkit-scrollbar-thumb { + background: #889; + + &:hover { + background: #555; + } +}