mirror of
https://github.com/jorgev259/soc_site-astro.git
synced 2025-06-29 07:57:41 +00:00
Fix modal background
This commit is contained in:
parent
b81e933609
commit
478ad26554
2 changed files with 2 additions and 2 deletions
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue