Skip to content

Commit

Permalink
Rebase and update z-indexes
Browse files Browse the repository at this point in the history
  • Loading branch information
lucemans committed Dec 15, 2024
1 parent 0519ba6 commit aad70c7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion web/src/components/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export const Navbar = () => {
<nav
role="navigation"
aria-label="Main"
className="w-full bg-white border-t md:border-b h-16 md:h-auto flex items-center justify-between md:justify-start fixed bottom-0 md:sticky md:top-0 md:z-50"
className="w-full bg-white border-t md:border-b h-16 md:h-auto flex items-center justify-between md:justify-start fixed bottom-0 md:sticky md:top-0 md:z-10"
>
<div className="flex md:hidden w-full overflow-x-auto">
<ul className="grid grid-cols-5 w-full">
Expand Down
4 changes: 2 additions & 2 deletions web/src/components/media/MediaGallery.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ export const MediaGallery: FC<{
</div>
)}
<Dialog.Portal>
<Dialog.Overlay className="fixed inset-0 bg-black bg-opacity-50" />
<Dialog.Content className="fixed inset-0 bg-white rounded-lg shadow-lg max-w-6xl mx-auto my-8 h-min">
<Dialog.Overlay className="fixed inset-0 bg-black bg-opacity-50 z-10" />
<Dialog.Content className="fixed inset-0 bg-white rounded-lg shadow-lg max-w-6xl mx-auto my-8 h-min z-10">
<Dialog.DialogTitle className="text-center font-medium text-xl overflow-hidden p-2">
{useMedia(mediaId).data?.description}
</Dialog.DialogTitle>
Expand Down

0 comments on commit aad70c7

Please sign in to comment.