Skip to content

Commit aceaaa0

Browse files
committed
Mobile menu styling
1 parent d4cb2b2 commit aceaaa0

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

public/css/app.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -787,6 +787,10 @@ video {
787787
margin-left: 1.5rem;
788788
}
789789

790+
.mt-36 {
791+
margin-top: 9rem;
792+
}
793+
790794
.block {
791795
display: block;
792796
}
@@ -887,6 +891,10 @@ video {
887891
height: 1rem;
888892
}
889893

894+
.h-screen {
895+
height: 100vh;
896+
}
897+
890898
.w-full {
891899
width: 100%;
892900
}

public/js/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21523,7 +21523,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
2152321523

2152421524
return (0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)("div", _hoisted_1, [!$setup.state.firstRender ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)("div", {
2152521525
key: 0,
21526-
"class": (0,vue__WEBPACK_IMPORTED_MODULE_0__.normalizeClass)(["fixed top-0 left-0 z-50 w-screen mt-40 bg-white h-96 animate__animated", {
21526+
"class": (0,vue__WEBPACK_IMPORTED_MODULE_0__.normalizeClass)(["fixed top-0 left-0 z-50 w-screen mt-36 bg-white h-screen animate__animated", {
2152721527
animate__fadeInLeft: $setup.state.expandedMenu,
2152821528
animate__fadeOutRight: !$setup.state.expandedMenu && !$setup.state.firstRender
2152921529
}])

resources/js/components/Header/MobileMenu.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="!state.firstRender"
5-
class="fixed top-0 left-0 z-50 w-screen mt-40 bg-white h-96 animate__animated"
5+
class="fixed top-0 left-0 z-50 w-screen mt-36 bg-white h-screen animate__animated"
66
:class="{
77
animate__fadeInLeft: state.expandedMenu,
88
animate__fadeOutRight: !state.expandedMenu && !state.firstRender,

0 commit comments

Comments
 (0)