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 5fdee096fe8 Fix toast notification description text truncation (#59356)
5fdee096fe8 is described below
commit 5fdee096fe86755240c0aa3945bc03852c0f5fd0
Author: Yeonguk Choo <[email protected]>
AuthorDate: Fri Dec 12 22:39:47 2025 +0900
Fix toast notification description text truncation (#59356)
---
airflow-core/src/airflow/ui/src/components/ui/Toaster/Toaster.tsx | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/airflow-core/src/airflow/ui/src/components/ui/Toaster/Toaster.tsx
b/airflow-core/src/airflow/ui/src/components/ui/Toaster/Toaster.tsx
index 4d1f0d6b143..cb0b0ccd221 100644
--- a/airflow-core/src/airflow/ui/src/components/ui/Toaster/Toaster.tsx
+++ b/airflow-core/src/airflow/ui/src/components/ui/Toaster/Toaster.tsx
@@ -29,7 +29,9 @@ export const Toaster = () => (
<Stack flex="1" gap="1" maxWidth="100%">
{Boolean(toast.title) ? <Toast.Title>{toast.title}</Toast.Title> :
undefined}
{Boolean(toast.description) ? (
- <Toast.Description>{toast.description}</Toast.Description>
+ <Toast.Description overflowWrap="break-word"
wordBreak="break-word">
+ {toast.description}
+ </Toast.Description>
) : undefined}
</Stack>
{toast.action ?
<Toast.ActionTrigger>{toast.action.label}</Toast.ActionTrigger> : undefined}