added default w-md to DialogContent

This commit is contained in:
Oliver Bryan
2026-01-17 00:59:57 +00:00
parent 874f195838
commit 8e0f8ed99b
2 changed files with 1 additions and 2 deletions

View File

@@ -49,7 +49,7 @@ function DialogContent({
"bg-background data-[state=closed]:zoom-out-95",
"data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%]",
"z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%]",
"gap-4 border p-4 shadow-lg duration-200 outline-none",
"gap-4 border p-4 shadow-lg duration-200 outline-none w-sm",
className,
)}
{...props}