improve navigation bar display
This commit is contained in:
parent
35663a3ed7
commit
92edf23139
1 changed files with 13 additions and 1 deletions
|
@ -56,10 +56,22 @@ nav .input-field label {
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-wrapper {
|
.nav-wrapper {
|
||||||
position: sticky;
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.nav-wrapper + *, *:has(.nav-wrapper) + * {
|
||||||
|
margin-top: 56px;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media only screen and (min-width: 601px) {
|
||||||
|
.nav-wrapper + *, *:has(.nav-wrapper) + * {
|
||||||
|
margin-top: 64px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
nav ul:not(.dropdown-content) > li > a {
|
nav ul:not(.dropdown-content) > li > a {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue