Fix mobile glitches

This commit is contained in:
rift 2024-07-24 16:01:02 -05:00
parent 7f6b5638de
commit 7909244e95

View file

@ -26,12 +26,12 @@ const { title } = Astro.props;
<title>{title}</title> <title>{title}</title>
<ViewTransitions /> <ViewTransitions />
</head> </head>
<body class="h-screen overflow-hidden"> <body>
<Header /> <Header />
<slot /> <slot />
<div <div
id="mobileNavMenu" id="mobileNavMenu"
class="w-full fixed inset-0 h-[calc(100vh-4rem)] z-0" class="w-full fixed inset-0 h-[calc(100%-4rem)] z-0"
transition:persist transition:persist
> >
<MobileNavigation /> <MobileNavigation />