Skip to content

Commit 84f77a1

Browse files
committed
fix: add scroll possibility on aside navigation
1 parent 7032671 commit 84f77a1

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.vitepress/theme/style.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,10 +332,22 @@ html {
332332
@apply scroll-smooth;
333333
}
334334

335+
.VPDocAside {
336+
@apply h-full;
337+
}
338+
335339
.aside .aside-container {
336340
@apply overflow-visible;
337341
}
338342

343+
.aside .aside-container .aside-content {
344+
@apply h-[calc(100%+32px)];
345+
}
346+
347+
.VPDocAsideOutline.has-outline {
348+
@apply overflow-y-auto pb-8;
349+
}
350+
339351
html.dark .light-only {
340352
display: none !important;
341353
}

0 commit comments

Comments
 (0)