From 2655ab974087848ee242822d7a4f6a046be757e3 Mon Sep 17 00:00:00 2001 From: Misode Date: Sun, 18 May 2025 00:04:36 +0200 Subject: [PATCH] Enable wrapping for dialog text components --- src/styles/global.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/styles/global.css b/src/styles/global.css index 20af463b..0be038f4 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -1883,6 +1883,8 @@ hr { .dialog-preview .text-component { font-size: calc(var(--dialog-px) * 10); + white-space: pre-wrap; + text-align: center; } .dialog-preview .text-component span {