Skip to content

Commit 01bc03d

Browse files
committed
Hide scrollbars using CSS
Added a rule to hide scrollbars by setting 'display: none' on ::-webkit-scrollbar. This improves the visual appearance of the site by removing scrollbars in WebKit-based browsers.
1 parent e454a23 commit 01bc03d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/.vitepress/theme/styles.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
::-webkit-scrollbar {
2+
display: none;
3+
}
4+
15
:root:where(:lang(fa)) {
26
--vp-font-family-base:
37
'Vazirmatn', 'Inter', ui-sans-serif, system-ui, sans-serif,

0 commit comments

Comments
 (0)