diff --git a/packages/ui/components/dialog/Dialog.tsx b/packages/ui/components/dialog/Dialog.tsx index 27f52c03a7..10b5598aff 100644 --- a/packages/ui/components/dialog/Dialog.tsx +++ b/packages/ui/components/dialog/Dialog.tsx @@ -98,15 +98,10 @@ export const DialogContent = React.forwardRef )} {type === "confirmation" && ( -
- {icon && ( -
- -
- )} -
- -
{children}
+
+ +
+ {children}
)} @@ -120,6 +115,7 @@ export const DialogContent = React.forwardRef; export function DialogHeader(props: DialogHeaderProps) { @@ -127,17 +123,26 @@ export function DialogHeader(props: DialogHeaderProps) { return (
- - {props.subtitle && ( -

- {props.subtitle} -

- )} +
+ {props.icon && ( +
+ +
+ )} +
+ + {props.subtitle && ( +

+ {props.subtitle} +

+ )} +
+
); } @@ -198,4 +203,4 @@ export function DialogClose( ); -} +} \ No newline at end of file