From 446214254e24c9822e7986f75bd0cb968b635255 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Tue, 22 Aug 2023 09:51:53 +0300 Subject: [PATCH] Fixed #4309 - Toast message content overflows the toast border --- components/lib/toast/BaseToast.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/lib/toast/BaseToast.vue b/components/lib/toast/BaseToast.vue index 49a9bb640..9c10c1426 100644 --- a/components/lib/toast/BaseToast.vue +++ b/components/lib/toast/BaseToast.vue @@ -5,6 +5,8 @@ import { useStyle } from 'primevue/usestyle'; const styles = ` .p-toast { width: 25rem; + white-space: pre-line; + word-break: break-word; } .p-toast-message-icon {