Website: sticky "On this page" navigation (#5342)

* sticky nav

* Update basic-documentation.less

* Update basic-documentation.less
This commit is contained in:
Eric 2022-04-27 21:33:56 -05:00 committed by GitHub
parent bbaa571f0c
commit c11bd43f6f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -542,8 +542,12 @@
[purpose='right-sidebar'] {
min-width: 190px;
max-width: 210px;
position: sticky;
top: 94px;
height: fit-content;
[purpose='subtopics'] {
max-height: calc(~'80vh - 90px'); //To prevent the sidenav being anchored to the bottom of the page if it has overflow.
overflow-y: scroll;
color: @core-fleet-black;
padding-top: 4px;
padding-bottom: 4px;