mirror of
https://github.com/bigskysoftware/htmx.git
synced 2025-10-02 15:25:26 +00:00
Allow docs navigation to scroll on shorter screens
This commit is contained in:
parent
265c9ca608
commit
e497789c76
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user