mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-15 02:24:04 +00:00
feat(toc): ✨ add bottom margin to sticky toc
This commit is contained in:
parent
4c1ec61622
commit
5023f2aa64
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue