dx: honor newlines in alert-dialogs
Massimo Melina committed
Feb 26, 2026 at 19:55 UTC
754a5c1f7aa215982b9b2a9fa68427d42ec1bea1
2 files changed
+2
admin/src/index.scss
+1
@@ -56,6 +56,7 @@ h2.MuiDialogTitle-root { /* less padding */
56
.dialog-alert .MuiDialogContent-root {
57
max-width: 45em;
58
padding: .5em 1em;
59
+ white-space: pre-wrap;
60
}
61
62
.release code {
frontend/src/index.scss
+1
@@ -438,6 +438,7 @@ button .icon + .label {
438
}
439
.dialog-alert .dialog-content {
440
text-align: center;
441
+ white-space: pre-wrap;
442
p { text-align: left; display: inline-block; }
443
ul { text-align: left; } // bullet points should be aligned
444
}