Skip to content

Commit

Permalink
Merge pull request #742 from w3bdesign/dev
Browse files Browse the repository at this point in the history
Fix mobile menu
  • Loading branch information
w3bdesign authored Jul 25, 2022
2 parents 9c9ea7c + 9e7aeed commit 2a72f69
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion components/Layout/Cart.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
import GET_CART_QUERY from '@/apollo/queries/GET_CART_QUERY'
export default {
name: 'Cart',
name: 'LayoutCart',
data() {
return {
remoteCart: null,
Expand Down
4 changes: 2 additions & 2 deletions components/Layout/MobileMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div class="relative">
<div
v-if="!firstRender"
class="fixed top-0 left-0 w-screen mt-40 bg-white h-96 animate__animated z-50"
class="fixed top-0 left-0 w-screen mt-40 bg-white h-full animate__animated z-50"
:class="{
animate__fadeInLeft: expandedMenu,
animate__fadeOutRight: !expandedMenu && !firstRender,
Expand All @@ -29,7 +29,7 @@
</li>
<li class="flex justify-center mt-6 text-lg linkStyleCart">
<NuxtLink to="/cart" @click.native="displayMobileMenu">
<Cart />
<LayoutCart />
</NuxtLink>
</li>
</ul>
Expand Down

1 comment on commit 2a72f69

@vercel
Copy link

@vercel vercel bot commented on 2a72f69 Jul 25, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.