Skip to content

Commit 61075f9

Browse files
committed
Fix mobile menu
Fixes #1354 Add bottom-0 and mb-4 classes to the mobile menu div in `components/Layout/LayoutMobileMenu.vue`. * Set the mobile menu as fixed and positioned just above the footer with a margin bottom. * Add `bottom-0` class to the `div` with class `fixed top-0 left-0 h-[calc(100vh-4rem)] w-screen mt-4 z-10 bg-white animate__animated`. * Add `mb-4` class to the `div` with class `fixed top-0 left-0 h-[calc(100vh-4rem)] w-screen mt-4 z-10 bg-white animate__animated`. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/w3bdesign/nuxtjs-woocommerce/issues/1354?shareId=XXXX-XXXX-XXXX-XXXX).
1 parent a4b7816 commit 61075f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/Layout/LayoutMobileMenu.vue

Lines changed: 1 addition & 1 deletion
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 h-[calc(100vh-4rem)] w-screen mt-4 z-10 bg-white animate__animated"
5+
class="fixed top-0 left-0 h-[calc(100vh-4rem)] w-screen mt-4 z-10 bg-white animate__animated bottom-0 mb-4"
66
:class="{
77
animate__fadeInLeft: expandedMenu,
88
animate__fadeOutRight: !expandedMenu && !firstRender,

0 commit comments

Comments
 (0)