File tree Expand file tree Collapse file tree 2 files changed +24
-1
lines changed
Expand file tree Collapse file tree 2 files changed +24
-1
lines changed Original file line number Diff line number Diff line change @@ -194,6 +194,13 @@ categories.forEach((category) => {
194194 height: 100%;
195195 overflow-y: auto;
196196 padding: 1rem;
197+ /* Hide scrollbar for all browsers */
198+ scrollbar-width: none; /* Firefox */
199+ -ms-overflow-style: none; /* IE and Edge */
200+ }
201+
202+ .sidebar-nav::-webkit-scrollbar {
203+ display: none; /* Chrome, Safari and Opera */
197204 }
198205
199206 ul {
Original file line number Diff line number Diff line change @@ -44,4 +44,20 @@ main.main-pane {
4444 display : block;
4545 margin-left : auto;
4646 margin-right : auto;
47- }
47+ }
48+
49+ /* Hide scrollbar in left sidebar */
50+ .sidebar-pane ,
51+ .sidebar-content ,
52+ starlight-menu-button ~ nav ,
53+ nav [aria-label = "Main" ] {
54+ scrollbar-width : none !important ; /* Firefox */
55+ -ms-overflow-style : none !important ; /* IE and Edge */
56+ }
57+
58+ .sidebar-pane ::-webkit-scrollbar ,
59+ .sidebar-content ::-webkit-scrollbar ,
60+ starlight-menu-button ~ nav ::-webkit-scrollbar ,
61+ nav [aria-label = "Main" ]::-webkit-scrollbar {
62+ display : none !important ; /* Chrome, Safari and Opera */
63+ }
You can’t perform that action at this time.
0 commit comments