File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 88 left : 0 ;
99 bottom : 0 ;
1010 border-right : 1px solid #f0f3f2 ;
11- padding-top : 0 ;
11+ padding-top : 60 px ;
1212 transition : margin-top 0.2s linear ;
1313
1414 & ::-webkit-scrollbar {
Original file line number Diff line number Diff line change 88 opacity : 0.8 ;
99 justify-self : flex-end ;
1010 position : fixed ;
11- top : 0 ;
11+ top : 60 px ;
1212 right : 0 ;
1313 bottom : 0 ;
1414 overflow-y : auto ;
Original file line number Diff line number Diff line change 77
88 function actualizeSidebarsMarginTop ( margin ) {
99 if ( document . querySelector ( '#sidebar' ) ) {
10- document . querySelector ( '#sidebar' ) . style . marginTop = margin . toString ( ) + 'px'
10+ document . querySelector ( '#sidebar' ) . style . marginTop = ( margin - 60 ) . toString ( ) + 'px'
1111 }
1212
1313 if ( document . querySelector ( '#article-toc' ) ) {
14- document . querySelector ( '#article-toc' ) . style . marginTop = margin . toString ( ) + 'px'
14+ document . querySelector ( '#article-toc' ) . style . marginTop = ( margin - 60 ) . toString ( ) + 'px'
1515 }
1616 }
1717
You can’t perform that action at this time.
0 commit comments