File tree 2 files changed +4
-23
lines changed
2 files changed +4
-23
lines changed Original file line number Diff line number Diff line change @@ -459,12 +459,11 @@ nav {
459
459
.sidebar-layout {
460
460
display : flex;
461
461
flex-direction : column;
462
- position : relative; /* required for absolute-positioned pseudo element */
462
+ position : relative;
463
463
z-index : 2 ;
464
- min-height : 100 vh ;
464
+ min-height : 74 vh ;
465
465
}
466
466
467
- /* this is the complete, corrected CSS you can directly copy/paste clearly: */
468
467
.sidebar-layout ::before {
469
468
content : "" ;
470
469
position : absolute;
@@ -785,9 +784,9 @@ button:has(~ .product-selector[style*="none"]) > .product-selector-button-icon {
785
784
padding-top : 1.5rem ;
786
785
align-items : start;
787
786
overflow-y : auto;
787
+ overflow-x : hidden;
788
788
color : var (--color-foreground );
789
789
790
- /* Reset/Renormalize lists to remove default browser styling */
791
790
.sidebar__container ,
792
791
.sidebar__container button ,
793
792
.sidebar__container ul ,
@@ -1481,10 +1480,8 @@ a:has(code:not(pre code)) {
1481
1480
padding : 0.15rem 0.5rem ;
1482
1481
font-size : 0.75rem ;
1483
1482
z-index : 999 ;
1484
- /* position: absolute; */
1485
1483
background-color : white;
1486
1484
margin : 0 0 -1px 0 ;
1487
- /* box-shadow: 2px 2px 0px var(--color-shadow); */
1488
1485
}
1489
1486
1490
1487
.code-container {
@@ -1636,7 +1633,7 @@ hr {
1636
1633
background-repeat : no-repeat;
1637
1634
background-size : contain;
1638
1635
background-position : left center;
1639
- width : 200px ; /* Adjust the width as needed to fit the logo */
1636
+ width : 200px ;
1640
1637
1641
1638
img {
1642
1639
display : none;
Original file line number Diff line number Diff line change @@ -16,19 +16,3 @@ document.addEventListener('click', (e) => {
16
16
}
17
17
}
18
18
} ) ;
19
-
20
- document . addEventListener ( 'DOMContentLoaded' , ( ) => {
21
- const sidebar = document . querySelector ( '.sidebar__ul' ) ;
22
-
23
- if ( ! sidebar ) return ;
24
-
25
- const activeLink = sidebar . querySelector ( '.sidebar__link--current' ) ;
26
-
27
- if ( activeLink ) {
28
- activeLink . scrollIntoView ( {
29
- behavior : 'auto' ,
30
- block : 'center' ,
31
- inline : 'nearest' ,
32
- } ) ;
33
- }
34
- } ) ;
You can’t perform that action at this time.
0 commit comments