Inject CSS to add scrollbar to the main menu on mobile
This commit is contained in:
parent
5f6565e682
commit
43ba21129e
1 changed files with 10 additions and 0 deletions
|
@ -10,8 +10,18 @@ code: |-
|
|||
.navbar {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
overflow-y: scroll;
|
||||
max-height: 100vh;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 1024px) {
|
||||
.navbar {
|
||||
overflow-y: inherit;
|
||||
max-height: none;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.navbar-burger {
|
||||
align-self: center;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue