From 68745d7c16f3ddaf46e01ea12f05397ca6387e27 Mon Sep 17 00:00:00 2001 From: "aditya.chandel" <8075870+adityachandelgit@users.noreply.github.com> Date: Fri, 24 Oct 2025 17:11:27 -0600 Subject: [PATCH] Apply consistent global scrollbar styling --- booklore-ui/src/styles.scss | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/booklore-ui/src/styles.scss b/booklore-ui/src/styles.scss index 9004bf1a6..770b9e0fa 100644 --- a/booklore-ui/src/styles.scss +++ b/booklore-ui/src/styles.scss @@ -12,6 +12,29 @@ html { Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; } +* { + &::-webkit-scrollbar { + width: 12px; + } + + &::-webkit-scrollbar-track { + background: rgba(0, 0, 0, 0.1); + border-radius: 10px; + } + + &::-webkit-scrollbar-thumb { + background: rgba(128, 128, 128, 0.5); + border-radius: 10px; + + &:hover { + background: rgba(128, 128, 128, 0.7); + } + } + + scrollbar-width: thin; + scrollbar-color: rgba(128, 128, 128, 0.5) rgba(0, 0, 0, 0.1); +} + .p-toast { top: 4rem !important; }