From 62ddeaff6ab9f3f75a62842f46f644bf36eac873 Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Wed, 14 Feb 2024 16:35:10 -0800 Subject: [PATCH] fix mobile menu --- src/app/components/mobileMenu.module.css | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/app/components/mobileMenu.module.css b/src/app/components/mobileMenu.module.css index 280d362..fce92ec 100644 --- a/src/app/components/mobileMenu.module.css +++ b/src/app/components/mobileMenu.module.css @@ -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; }