feat(toc): add bottom margin to sticky toc

This commit is contained in:
alistair3149 2023-01-12 15:58:40 -05:00
parent 4c1ec61622
commit 5023f2aa64
No known key found for this signature in database

View file

@ -235,7 +235,7 @@
--toc-margin-top: var( --space-xs );
position: sticky;
top: var( --toc-margin-top );
max-height: ~'calc( 100vh - var( --toc-margin-top ) )';
max-height: ~'calc( 100vh - var( --toc-margin-top ) - var( --space-md ) )';
overflow-y: auto;
overscroll-behavior: contain;
}