Skip to content

Commit 944a8e9

Browse files
[v3-1-test] Fix toast notification description text truncation (#59356) (#59369)
(cherry picked from commit 5fdee09) Co-authored-by: Yeonguk Choo <choo121600@gmail.com>
1 parent 53a4d56 commit 944a8e9

File tree

1 file changed

+3
-1
lines changed
  • airflow-core/src/airflow/ui/src/components/ui/Toaster

1 file changed

+3
-1
lines changed

airflow-core/src/airflow/ui/src/components/ui/Toaster/Toaster.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ export const Toaster = () => (
2929
<Stack flex="1" gap="1" maxWidth="100%">
3030
{Boolean(toast.title) ? <Toast.Title>{toast.title}</Toast.Title> : undefined}
3131
{Boolean(toast.description) ? (
32-
<Toast.Description>{toast.description}</Toast.Description>
32+
<Toast.Description overflowWrap="break-word" wordBreak="break-word">
33+
{toast.description}
34+
</Toast.Description>
3335
) : undefined}
3436
</Stack>
3537
{toast.action ? <Toast.ActionTrigger>{toast.action.label}</Toast.ActionTrigger> : undefined}

0 commit comments

Comments
 (0)