Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ export const WarningAlert = ({ warning }: Props) => {

return (
<Alert data-testid="warning-alert" status="warning">
<Flex align="center">{warning?.message}</Flex>
<Flex align="center" whiteSpace="pre-wrap">
Copy link
Contributor

@shivaam shivaam Mar 14, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: ErrorAlert uses whiteSpace="preserve" with wordBreak, while this uses pre-wrap.
Both work, but might be worth aligning them for consistency since they render side by side in the same modal. They are both used together in the DAGWarningsModal.tsx file.

Not a blocker though.

{warning?.message}
</Flex>
</Alert>
);
};
Loading