shivaam commented on code in PR #63588:
URL: https://github.com/apache/airflow/pull/63588#discussion_r2935313059
##########
airflow-core/src/airflow/ui/src/components/WarningAlert.tsx:
##########
@@ -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">
Review Comment:
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.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]