Fix dialog button spacing and disable auto-focus on open

This commit is contained in:
Chris Scott committed 2026-03-21 23:34:30 -04:00
1 parent 1e863c5fc5
commit 0eb0a8b2a8
5 files changed
+5 -4

No files matched your search

+1
View File
@@ -46,6 +46,7 @@ const DialogContent = React.forwardRef<
{!fullscreen && <DialogOverlay className={overlayClassName} />}
<DialogPrimitive.Content
ref={ref}
autoFocus={false}
aria-describedby={undefined}
className={cn(
"fixed z-50 grid gap-4 border-0 sm:border bg-background shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",