Skip to content

Commit 0f6252a

Browse files
committed
style docs sidebar scrollbar
1 parent 24eddce commit 0f6252a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.vitepress/theme/custom.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -468,8 +468,8 @@ html:not(.dark) .vp-doc [class*="language-"] pre {
468468
}
469469
@media (max-width: 960px) {
470470
body.vix-local-nav-fixed .VPSidebar {
471-
top: var(--vp-local-nav-height, 48px) !important;
472-
height: calc(100vh - var(--vp-local-nav-height, 48px)) !important;
471+
top: var(--vp-local-nav-height, 20px) !important;
472+
height: calc(100vh - var(--vp-local-nav-height, 20px)) !important;
473473
}
474474

475475
body.vix-local-nav-fixed .VPSidebar .curtain,

0 commit comments

Comments
 (0)