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 {