fix: alignment of icon and title in ConfirmationDialogContent (#9868)

* Fix alignment of icon and title in ConfirmationDialogContent

* Update packages/ui/components/dialog/ConfirmationDialogContent.tsx

---------

Co-authored-by: Peer Richelsen <peer@cal.com>
pull/9876/head
Ujwal Kumar 2023-07-02 03:17:57 +05:30 committed by GitHub
parent 4bea5a09c6
commit 8436025ff5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -57,7 +57,9 @@ export function ConfirmationDialogContent(props: PropsWithChildren<ConfirmationD
</div>
)}
<div>
<DialogPrimitive.Title className="font-cal text-emphasis text-xl">{title}</DialogPrimitive.Title>
<DialogPrimitive.Title className="font-cal text-emphasis mt-2 text-xl">
{title}
</DialogPrimitive.Title>
<DialogPrimitive.Description className="text-subtle text-sm">
{children}
</DialogPrimitive.Description>