Allow docs navigation to scroll on shorter screens

This commit is contained in:
Onyeka Aghanenu 2021-06-05 15:21:17 +01:00
parent 265c9ca608
commit e497789c76
No known key found for this signature in database
GPG Key ID: 8E73FA161BA92BBF

View File

@ -143,6 +143,7 @@ a {
list-style: none;
padding-left: 12px;
}
margin-bottom: 1em;
}
.hamburger {
@ -195,7 +196,7 @@ h4 {
display: none !important;
}
.hamburger {
display: inline-block;
// display: inline-block;
float: right;
}
.nav {
@ -373,6 +374,11 @@ h1,h2,h3,h4{
.content .nav #contents{
top: 3.5em;
}
.content .nav #contents > ul {
max-height: calc(100vh - 5rem);
overflow-y: scroll;
}
.content .nav > p
{
position: sticky;