Skip to content

Commit 2a72f69

Browse files
authored
Merge pull request #742 from w3bdesign/dev
Fix mobile menu
2 parents 9c9ea7c + 9e7aeed commit 2a72f69

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

components/Layout/Cart.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
import GET_CART_QUERY from '@/apollo/queries/GET_CART_QUERY'
3939
4040
export default {
41-
name: 'Cart',
41+
name: 'LayoutCart',
4242
data() {
4343
return {
4444
remoteCart: null,

components/Layout/MobileMenu.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<div class="relative">
33
<div
44
v-if="!firstRender"
5-
class="fixed top-0 left-0 w-screen mt-40 bg-white h-96 animate__animated z-50"
5+
class="fixed top-0 left-0 w-screen mt-40 bg-white h-full animate__animated z-50"
66
:class="{
77
animate__fadeInLeft: expandedMenu,
88
animate__fadeOutRight: !expandedMenu && !firstRender,
@@ -29,7 +29,7 @@
2929
</li>
3030
<li class="flex justify-center mt-6 text-lg linkStyleCart">
3131
<NuxtLink to="/cart" @click.native="displayMobileMenu">
32-
<Cart />
32+
<LayoutCart />
3333
</NuxtLink>
3434
</li>
3535
</ul>

0 commit comments

Comments
 (0)