Make desktop docs-nav sticky on scroll

This commit is contained in:
hunicus
2021-12-15 21:31:00 -05:00
parent 40f1949654
commit 3ae46e6ba1
3 changed files with 22 additions and 2 deletions

View File

@@ -74,9 +74,18 @@ li.nav-item {
.doc-nav-desktop {
width: 25%;
}
.doc-nav-desktop.relative {
float: left;
}
.doc-nav-desktop.fixed {
float: unset;
position: fixed;
top: 20px;
}
.doc-content {
width: 75%;
float: right;