Skip to content

Commit 542a5af

Browse files
authored
fix: Sidebar not scrolling + height issues (#203)
1 parent 02b3c7b commit 542a5af

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

assets/css/v2/style.css

+3-2
Original file line numberDiff line numberDiff line change
@@ -577,6 +577,7 @@ body:not(:has(.main-layout)) header atomic-search-interface {
577577
display: flex;
578578
flex-direction: column;
579579
width: 24rem;
580+
max-height: 100vh;
580581
position: sticky;
581582
top: 0;
582583
margin-top: -1rem;
@@ -646,7 +647,7 @@ button:has(~ .product-selector[style*="none"]) > .product-selector-button-icon {
646647
.sidebar .scrollbar-container {
647648
width: 100%;
648649
max-height: 100vh;
649-
overflow: hidden;
650+
overflow: scroll;
650651
scrollbar-gutter: stable;
651652
scrollbar-width: none;
652653
}
@@ -885,7 +886,7 @@ button:has(~ .product-selector[style*="none"]) > .product-selector-button-icon {
885886
display: block !important;
886887
}
887888

888-
#TableOfContents li {
889+
#TableOfContents li:not(:empty) {
889890
position: relative;
890891
list-style: square;
891892
}

0 commit comments

Comments
 (0)