File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -51,12 +51,12 @@ function AlertDialogContent({
5151 < AlertDialogOverlay />
5252 < div
5353 data-slot = "alert-dialog-positioner"
54- className = "pointer-events-none fixed inset-0 z-[81] grid grid-rows-[minmax(1rem,1fr)_auto_minmax(1rem,1fr)] justify- items-center overflow-y-auto px -4"
54+ className = "pointer-events-none fixed inset-0 z-[81] grid place- items-center p -4"
5555 >
5656 < AlertDialogPrimitive . Content
5757 data-slot = "alert-dialog-content"
5858 className = { cn (
59- "pointer-events-auto relative row-start-2 grid w-full max-w-lg gap-4 rounded-modal border bg-background p-6 shadow-modal data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:animate-in data-[state=open]:fade-in-0" ,
59+ "pointer-events-auto relative grid max-h-[calc(100dvh-2rem)] w-full max-w-lg gap-4 overflow-y-auto rounded-modal border bg-background p-6 shadow-modal data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:animate-in data-[state=open]:fade-in-0" ,
6060 className ,
6161 ) }
6262 { ...props }
Original file line number Diff line number Diff line change @@ -57,12 +57,12 @@ function DialogContent({
5757 < DialogOverlay />
5858 < div
5959 data-slot = "dialog-positioner"
60- className = "pointer-events-none fixed inset-0 z-[61] grid grid-rows-[minmax(1rem,1fr)_auto_minmax(1rem,1fr)] justify- items-center overflow-y-auto px -4"
60+ className = "pointer-events-none fixed inset-0 z-[61] grid place- items-center p -4"
6161 >
6262 < DialogPrimitive . Content
6363 data-slot = "dialog-content"
6464 className = { cn (
65- "pointer-events-auto relative row-start-2 grid w-full max-w-lg gap-4 rounded-modal border bg-background p-6 shadow-modal data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:animate-in data-[state=open]:fade-in-0" ,
65+ "pointer-events-auto relative grid max-h-[calc(100dvh-2rem)] w-full max-w-lg gap-4 overflow-y-auto rounded-modal border bg-background p-6 shadow-modal data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:animate-in data-[state=open]:fade-in-0" ,
6666 className ,
6767 ) }
6868 { ...props }
You can’t perform that action at this time.
0 commit comments