Skip to content

Commit

Permalink
Merge pull request #9916 from Jarsen136/issue-9915
Browse files Browse the repository at this point in the history
fix: Mobile menu gone on 640-1024px
  • Loading branch information
prury authored Mar 29, 2024
2 parents 7c8c26c + 4fbe832 commit bd75586
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 4 additions & 1 deletion assets/styles/layouts/_main-navigation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,10 @@
}

&.is-active .navbar-brand {
min-height: $navbar-mobile-min-height;
min-height: $navbar-desktop-min-height;
@include mobile {
min-height: $navbar-mobile-min-height;
}
}
}
}
Expand Down
6 changes: 4 additions & 2 deletions components/Navbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
:class="{
'is-active': isMobileNavbarOpen,
}">
<div class="container items-center" :class="{ 'is-fluid': !isTouch }">
<div
class="container items-center max-lg:!px-0"
:class="{ 'is-fluid': !isTouch }">
<!-- BRAND -->
<div class="navbar-brand">
<nuxt-link
Expand Down Expand Up @@ -43,7 +45,7 @@
<!-- BURGER MENU -->
<a
role="button"
class="navbar-burger sm:hidden"
class="navbar-burger lg:hidden"
:class="{ 'is-active': isMobileNavbarOpen }"
aria-label="menu"
aria-expanded="false"
Expand Down

0 comments on commit bd75586

Please sign in to comment.