fix: drawer z-index

This commit is contained in:
gosangam
2026-05-05 02:28:53 +05:30
parent 1bd046d6f3
commit 391c57070a
+2 -2
View File
@@ -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" &&