From 5e0c28c257269f9c60b307a89a4c192b9ae9c065 Mon Sep 17 00:00:00 2001 From: lxgr-linux Date: Sun, 28 Jan 2024 01:52:48 +0100 Subject: [PATCH] Chnaged scrollbar style --- src/assets/index.css | 23 ++++++++++++++++++++++- src/style.css | 3 --- 2 files changed, 22 insertions(+), 4 deletions(-) delete mode 100644 src/style.css diff --git a/src/assets/index.css b/src/assets/index.css index a5f4438a..d4041582 100644 --- a/src/assets/index.css +++ b/src/assets/index.css @@ -1,4 +1,25 @@ @import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap'); @tailwind base; @tailwind components; -@tailwind utilities; \ No newline at end of file +@tailwind utilities; + +::-webkit-scrollbar { + width: 10px; +} + +/* Track */ +::-webkit-scrollbar-track { + background: #FFFFFF; + border-radius: 5px; +} + +/* Handle */ +::-webkit-scrollbar-thumb { + background: #555; + border-radius: 5px; +} + +/* Handle on hover */ +::-webkit-scrollbar-thumb:hover { + background: #D82027;; +} \ No newline at end of file diff --git a/src/style.css b/src/style.css deleted file mode 100644 index bd6213e1..00000000 --- a/src/style.css +++ /dev/null @@ -1,3 +0,0 @@ -@tailwind base; -@tailwind components; -@tailwind utilities; \ No newline at end of file