FhcAlert: CSS

This commit is contained in:
cgfhtw
2024-01-30 10:42:12 +01:00
parent ea9e58a640
commit b010cbb35d
2 changed files with 19 additions and 4 deletions
+16 -1
View File
@@ -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;