pierrejeambrun commented on code in PR #63588:
URL: https://github.com/apache/airflow/pull/63588#discussion_r2954928660
##########
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:
+1 for using the same `whiteSpace="preserve"`, and also add the wordBreak.
I'm experiencing poor display if not breaking:
<img width="1164" height="954" alt="Image"
src="https://github.com/user-attachments/assets/b452abbd-5813-41e5-b9ea-d6026a724dd2"
/>
--
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]