This is an automated email from the ASF dual-hosted git repository.
pierrejeambrun pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 9147e79643e Fix newline rendering in DAG warning alert UI (#63588)
9147e79643e is described below
commit 9147e79643e140eac8f064aba4d42c085ca270ce
Author: Jeongwoo Do <[email protected]>
AuthorDate: Fri Mar 20 23:30:26 2026 +0900
Fix newline rendering in DAG warning alert UI (#63588)
* fix dag warning alert UI to display newline
* fix css
* fix css
---
airflow-core/src/airflow/ui/src/components/WarningAlert.tsx | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/airflow-core/src/airflow/ui/src/components/WarningAlert.tsx
b/airflow-core/src/airflow/ui/src/components/WarningAlert.tsx
index 9b92de9db6e..278fd6da82b 100644
--- a/airflow-core/src/airflow/ui/src/components/WarningAlert.tsx
+++ b/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="preserve" wordBreak="break-all">
+ {warning?.message}
+ </Flex>
</Alert>
);
};