diff --git a/_sass/custom/custom.scss b/_sass/custom/custom.scss index f1268e4c..4ea82bf0 100755 --- a/_sass/custom/custom.scss +++ b/_sass/custom/custom.scss @@ -48,11 +48,12 @@ code { } .site-nav { - padding-top: 1rem; + padding-top: 0; position: sticky; - top: 1rem; - max-height: calc(100vh - 2rem); + top: 0; + max-height: 100vh; overflow-x: hidden; + min-width: 14rem; } .nav-category { @@ -1251,12 +1252,17 @@ main { .version-wrapper { text-align: center; - margin-bottom: 1rem; + position: sticky; + top: 0; + z-index: 9999999; + background-color: $sidebar-color; } version-selector { z-index: 1; font-size: .9rem; + padding-top: 1rem; + padding-bottom: 1rem; --normal-bg: linear-gradient(#{lighten($blue-300, 5%)}, #{darken($blue-300, 2%)}); --hover-bg: linear-gradient(#{lighten($blue-300, 2%)}, #{darken($blue-300, 4%)});