From 68824935e95fe330ad76ef150534a894891942ac Mon Sep 17 00:00:00 2001 From: Stavros Date: Sun, 25 Aug 2024 20:05:55 +0300 Subject: [PATCH] feat: style scrollbar (#135) * feat: style scrollbar * refactor(index.css): increase the border radius a bit * chore: revert prettier styling --- beszel/site/src/index.css | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/beszel/site/src/index.css b/beszel/site/src/index.css index 984c65f..78721ba 100644 --- a/beszel/site/src/index.css +++ b/beszel/site/src/index.css @@ -89,3 +89,22 @@ --chart-5: 340 75% 55%; } */ } + +/* scrollbar */ +::-webkit-scrollbar { + width: 10px; + } + + ::-webkit-scrollbar-track { + background-color: transparent; + } + + ::-webkit-scrollbar-thumb { + background-color: hsla(var(--border) / 0.8); + border-radius: 0.25rem; + } + + ::-webkit-scrollbar-thumb:hover { + background-color: hsl(var(--border)); + } + \ No newline at end of file