Skip to content

Commit

Permalink
fix(NavigationPopover): add z-indexes
Browse files Browse the repository at this point in the history
  • Loading branch information
pallendes committed Dec 7, 2023
1 parent ed325b1 commit 395ac23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/navigation/navigation-popover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export interface NavigationPopoverPanelProps {

const NavigationPopoverPanel = ({ children }: NavigationPopoverPanelProps) => {
return (
<Popover.Panel className="absolute bottom-0 ml-2 w-52 translate-x-[180px] rounded bg-neutral-0 p-2">
<Popover.Panel className="absolute bottom-0 z-40 ml-2 w-52 translate-x-[180px] rounded bg-neutral-0 p-2">
{children}
</Popover.Panel>
);
Expand All @@ -53,7 +53,7 @@ const NavigationPopover = ({ children, showOverlay }: NavigationPopoverProps) =>
<Popover>
<>
{showOverlay && (
<Popover.Overlay className="fixed inset-0 translate-x-[180px] bg-modal-background" />
<Popover.Overlay className="fixed inset-0 z-30 translate-x-[180px] bg-modal-background" />
)}
<div className="relative">{children}</div>
</>
Expand Down

0 comments on commit 395ac23

Please sign in to comment.