Skip to content

Commit fe2532c

Browse files
committed
fix: break long words in notifications toast
1 parent c09d3f8 commit fe2532c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adminforth/spa/src/components/Toast.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
<div class="ms-3 text-sm font-normal max-w-xs pr-2" v-if="toast.messageHtml" v-html="toast.messageHtml"></div>
2323
<div class="ms-3 text-sm font-normal max-w-xs pr-2" v-else>
24-
<div class="flex flex-col items-center justify-center">
24+
<div class="flex flex-col items-center justify-center break-all">
2525
{{toast.message}}
2626
<div v-if="toast.buttons" class="flex justify-center mt-2 gap-2">
2727
<div v-for="button in toast.buttons" class="af-toast-button rounded-md bg-lightButtonsBackground hover:bg-lightButtonsHover text-lightButtonsText dark:bg-darkPrimary dark:hover:bg-darkButtonsBackground dark:text-darkButtonsText">

0 commit comments

Comments
 (0)