diff --git a/public/css/Fhc.css b/public/css/Fhc.css index 9342be5a3..7a209b661 100644 --- a/public/css/Fhc.css +++ b/public/css/Fhc.css @@ -1,6 +1,21 @@ -.text-prewrap { +.fhc-alert.p-toast-center { + width: 35rem; + max-width: 100vw; +} +.fhc-alert.p-toast-top-right { + max-width: calc(100vw - 40px); +} +.fhc-alert.p-toast-top-right .p-toast-detail, +.fhc-alert.p-toast-center .p-toast-message-text .card { + white-space: pre-wrap; +} + +.text-preline { white-space: pre-line; } +.text-prewrap { + white-space: pre-wrap; +} .btn-p-0 { padding: 0 .375rem; diff --git a/public/js/plugin/FhcAlert.js b/public/js/plugin/FhcAlert.js index 079039aed..cb9c4c4e8 100644 --- a/public/js/plugin/FhcAlert.js +++ b/public/js/plugin/FhcAlert.js @@ -133,8 +133,8 @@ const helperApp = Vue.createApp({ helperAppContainer.parentElement.removeChild(helperAppContainer); }, template: ` - - + +