From 0f3e0a1554662ae90eb5c110738c9f1a90a1d7c9 Mon Sep 17 00:00:00 2001 From: Anit Jha <103268398+AnitKrJha@users.noreply.github.com> Date: Sun, 18 Jun 2023 02:27:15 +0530 Subject: [PATCH] fix: Alert component fixed (#9605) * fix: Alert Component Fixed * Update packages/ui/components/alert/Alert.tsx --------- Co-authored-by: Peer Richelsen Co-authored-by: Peer Richelsen --- packages/ui/components/alert/Alert.tsx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/packages/ui/components/alert/Alert.tsx b/packages/ui/components/alert/Alert.tsx index d27899a7d5..04efec5dfd 100644 --- a/packages/ui/components/alert/Alert.tsx +++ b/packages/ui/components/alert/Alert.tsx @@ -32,7 +32,7 @@ export const Alert = forwardRef((props, ref) => { severity === "success" && "bg-inverted text-inverted", severity === "neutral" && "bg-subtle text-default" )}> -
+
{CustomIcon ? (
)} - -
-

{props.title}

-
{props.message}
+
+
+

{props.title}

+
{props.message}
+
+ {props.actions &&
{props.actions}
}
- {/* @TODO: Shouldn't be absolute. This makes it harder to give margin etc. */} - {props.actions &&
{props.actions}
}
);