Skip to content

Commit

Permalink
fix(Popover): z-index value
Browse files Browse the repository at this point in the history
  • Loading branch information
BrickheadJohnny committed Nov 26, 2024
1 parent ffc4913 commit 68c49d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ui/Popover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const PopoverContent = forwardRef<
align={align}
sideOffset={sideOffset}
className={cn(
"data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-popover w-72 rounded-lg border border-border bg-card p-4 text-foreground shadow-sm outline-none data-[state=closed]:animate-out data-[state=open]:animate-in",
"data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-72 rounded-lg border border-border bg-card p-4 text-foreground shadow-sm outline-none data-[state=closed]:animate-out data-[state=open]:animate-in",
className,
)}
{...props}
Expand Down

0 comments on commit 68c49d6

Please sign in to comment.