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