@@ -88,7 +88,7 @@ function Dialog({
8888 showCloseButton = { showCloseButton }
8989 title = { title }
9090 >
91- < div className = "pb-12" > { children } </ div >
91+ < div > { children } </ div >
9292 </ DialogContent >
9393 </ DialogRoot >
9494 ) ;
@@ -178,7 +178,7 @@ function DialogContent({
178178 < DialogOverlay />
179179 < DialogPrimitive . Content
180180 className = { cn (
181- "data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 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%] rounded-2xl bg-white p-6 shadow-lg duration-200 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-purple-600 focus-visible:ring-offset-2 data-[state=closed]:animate-out data-[state=open]:animate-in sm:max-w-lg" ,
181+ "data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 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%] rounded-lg border-gray-200 bg-white p-6 shadow-lg duration-200 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-purple-600 focus-visible:ring-offset-2 data-[state=closed]:animate-out data-[state=open]:animate-in sm:max-w-lg" ,
182182 className
183183 ) }
184184 data-slot = "dialog-content"
@@ -250,7 +250,7 @@ function DialogContent({
250250function DialogHeader ( { className, ...props } : React . ComponentProps < "div" > ) {
251251 return (
252252 < div
253- className = { cn ( "mb-6 grid gap-4 " , className ) }
253+ className = { cn ( "mb-4 grid gap-1.5 " , className ) }
254254 data-slot = "dialog-header"
255255 { ...props }
256256 />
@@ -260,7 +260,7 @@ function DialogHeader({ className, ...props }: React.ComponentProps<"div">) {
260260function DialogFooter ( { className, ...props } : React . ComponentProps < "div" > ) {
261261 return (
262262 < div
263- className = { cn ( "flex justify-end gap-3 " , className ) }
263+ className = { cn ( "mt-4 flex justify-end gap-2 " , className ) }
264264 data-slot = "dialog-footer"
265265 { ...props }
266266 />
@@ -273,7 +273,10 @@ function DialogTitle({
273273} : React . ComponentProps < typeof DialogPrimitive . Title > ) {
274274 return (
275275 < DialogPrimitive . Title
276- className = { cn ( "font-semibold text-black text-lg leading-none" , className ) }
276+ className = { cn (
277+ "font-display font-semibold text-gray-800 text-lg leading-none" ,
278+ className
279+ ) }
277280 data-slot = "dialog-title"
278281 { ...props }
279282 />
@@ -286,7 +289,7 @@ function DialogDescription({
286289} : React . ComponentProps < typeof DialogPrimitive . Description > ) {
287290 return (
288291 < DialogPrimitive . Description
289- className = { cn ( "text-gray-600 text-lg leading-[1.3] " , className ) }
292+ className = { cn ( "text-gray-600 text-sm leading-snug " , className ) }
290293 data-slot = "dialog-description"
291294 { ...props }
292295 />
0 commit comments