From bc1204a8322f99cc40a45023e7a9fa236c945868 Mon Sep 17 00:00:00 2001 From: taskylizard <75871323+taskylizard@users.noreply.github.com> Date: Sat, 4 Nov 2023 21:54:50 +0530 Subject: [PATCH] thinner scrollbar --- .vitepress/theme/style.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.vitepress/theme/style.css b/.vitepress/theme/style.css index 329fa9120..9d9fc850a 100644 --- a/.vitepress/theme/style.css +++ b/.vitepress/theme/style.css @@ -93,6 +93,14 @@ background-color: var(--vp-button-brand-bg); } +/* Custom scrollbar */ +.VPSidebar::-webkit-scrollbar { + block-size: 4px; + border-end-end-radius: 14px; + border-start-end-radius: 14px; + inline-size: 4px; +} + /** * Component: Home */