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