toc scroll fix

This commit is contained in:
alistair3149 2019-11-27 21:36:01 -05:00
parent bdfedd1807
commit d27a1e4c76

View file

@ -358,7 +358,6 @@ a {
position: fixed; position: fixed;
max-width: 450px; max-width: 450px;
height:~'calc( 100vh - @{header-height} * 2 - @{margin-side} * 4 )'; height:~'calc( 100vh - @{header-height} * 2 - @{margin-side} * 4 )';
overflow: visible auto;
top: @header-height; top: @header-height;
right: 0; right: 0;
padding: @margin-side * 2 @margin-side; padding: @margin-side * 2 @margin-side;
@ -462,6 +461,7 @@ a {
z-index: 2; z-index: 2;
border-right: 1px dashed; border-right: 1px dashed;
max-height:~'calc( 100vh - @{header-height} * 2 - @{margin-side} * 4 )'; max-height:~'calc( 100vh - @{header-height} * 2 - @{margin-side} * 4 )';
overflow: visible auto;
display: block; display: block;
>li { >li {