Fix modal background

This commit is contained in:
Jorge Vargas 2025-02-18 23:20:25 -06:00
parent b81e933609
commit 478ad26554
2 changed files with 2 additions and 2 deletions

View file

@ -42,7 +42,7 @@ const { session } = Astro.locals
<LoginNav />
</div>
</div>
<nav class='relative w-full md:h-[55px] bg-dark z-50'>
<nav class='relative w-full md:h-[55px] bg-dark z-40'>
<Toggler>
<a href='/'><NavButton>{m.home()}</NavButton></a>
<a href='/last-added'><NavButton>{m.lastaddednav()}</NavButton></a>

View file

@ -17,7 +17,7 @@ export default function Modal(props: PropsWithChildren<{ setOpen?: SetState<bool
return (
<div
className='fixed size-full flex bg-black bg-opacity-50 left-0 top-0 z-50 p-4 justify-center items-center'
className='fixed size-full flex bg-black/50 left-0 top-0 z-50 p-4 justify-center items-center'
onClick={() => {
if (setOpen) setOpen(false)
}}