fix mobile menu

This commit is contained in:
Youwen Wu 2024-02-14 16:35:10 -08:00
parent d14528243e
commit 62ddeaff6a

View file

@ -1,7 +1,7 @@
.menu { .menu {
@apply overflow-hidden left-[0] top-[235px] z-10 absolute bg-slate-200; @apply overflow-hidden left-[0] top-[235px] z-10 absolute bg-slate-200;
height: fit-content; @apply duration-300;
padding-bottom: 10px; height: calc(200px);
transition: height 0.2s ease-in-out; transition: height 0.2s ease-in-out;
width: 100vw; width: 100vw;
right: 0; right: 0;
@ -17,5 +17,4 @@
.menu-hidden { .menu-hidden {
height: 0; height: 0;
padding-bottom: 0;
} }