fix: drawer z-index
This commit is contained in:
@@ -28,7 +28,7 @@ const DrawerOverlay = React.forwardRef<
|
||||
>(({ className, ...props }, ref) => (
|
||||
<DrawerPrimitive.Overlay
|
||||
ref={ref}
|
||||
className={cn("fixed inset-0 z-50 bg-black/80", className)}
|
||||
className={cn("fixed inset-0 z-90 bg-black/80", className)}
|
||||
{...props}
|
||||
/>
|
||||
));
|
||||
@@ -45,7 +45,7 @@ const DrawerContent = React.forwardRef<
|
||||
<DrawerPrimitive.Content
|
||||
ref={ref}
|
||||
className={cn(
|
||||
"fixed z-50 flex flex-col border bg-background",
|
||||
"fixed z-90 flex flex-col border bg-background",
|
||||
direction === "left" &&
|
||||
"inset-y-0 left-0 h-full w-[80%] max-w-sm rounded-r-[10px]",
|
||||
direction === "right" &&
|
||||
|
||||
Reference in New Issue
Block a user