Inject CSS to add scrollbar to the main menu on mobile

This commit is contained in:
Keegan Rankin 2024-04-12 11:59:56 -07:00
parent 5f6565e682
commit 43ba21129e

View file

@ -10,8 +10,18 @@ code: |-
.navbar { .navbar {
position: sticky; position: sticky;
top: 0; top: 0;
overflow-y: scroll;
max-height: 100vh;
} }
@media screen and (min-width: 1024px) {
.navbar {
overflow-y: inherit;
max-height: none;
}
}
.navbar-burger { .navbar-burger {
align-self: center; align-self: center;
} }