Skip to content

Commit 77ab5cf

Browse files
committed
fix: Sidebar not scrolling + height issues
1 parent fcf4bba commit 77ab5cf

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

assets/css/v2/style.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -482,6 +482,7 @@ atomic-search-layout atomic-layout-section[section="search"] {
482482
display: flex;
483483
flex-direction: column;
484484
width: 24rem;
485+
max-height: 100vh;
485486
position: sticky;
486487
top: 0;
487488
margin-top: -1rem;
@@ -551,7 +552,7 @@ button:has(~ .product-selector[style*="none"]) > .product-selector-button-icon {
551552
.sidebar .scrollbar-container {
552553
width: 100%;
553554
max-height: 100vh;
554-
overflow: hidden;
555+
overflow: scroll;
555556
scrollbar-gutter: stable;
556557
scrollbar-width: none;
557558
}
@@ -790,7 +791,7 @@ button:has(~ .product-selector[style*="none"]) > .product-selector-button-icon {
790791
display: block !important;
791792
}
792793

793-
#TableOfContents li {
794+
#TableOfContents li:not(:empty) {
794795
position: relative;
795796
list-style: square;
796797
}

0 commit comments

Comments
 (0)