mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 08:58:41 +00:00
Website: sticky "On this page" navigation (#5342)
* sticky nav * Update basic-documentation.less * Update basic-documentation.less
This commit is contained in:
parent
bbaa571f0c
commit
c11bd43f6f
1 changed files with 5 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue