@@ -32,7 +32,7 @@ export const DialogContent = React.forwardRef<
|
||||
<DialogPrimitive.Content
|
||||
ref={ref}
|
||||
className={cn(
|
||||
"fixed left-1/2 top-1/2 z-50 w-full max-w-lg -translate-x-1/2 -translate-y-1/2",
|
||||
"fixed left-1/2 top-1/2 z-50 w-[calc(100%-2rem)] max-w-lg -translate-x-1/2 -translate-y-1/2",
|
||||
"rounded-lg border border-border bg-surface p-6 shadow-lg",
|
||||
"data-[state=open]:animate-scale-in",
|
||||
className
|
||||
|
||||
Reference in New Issue
Block a user