From 6a1db687792a61b17faecf0babbcd6babd3bbd3b Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Mon, 13 Nov 2023 22:32:22 +0100 Subject: [PATCH] fix: Display preformatted option descriptions --- src/routes/patches/PatchItem.svelte | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/routes/patches/PatchItem.svelte b/src/routes/patches/PatchItem.svelte index 59ba0503..93f83aa6 100644 --- a/src/routes/patches/PatchItem.svelte +++ b/src/routes/patches/PatchItem.svelte @@ -91,7 +91,9 @@ {#each patch.options as option}
{option.title}
-
{option.description}
+
+
{option.description}
+
{/each} @@ -106,6 +108,11 @@ color: var(--accent-color); } + #option-description { + white-space: pre-wrap; + word-break: break-all; + } + #option-title { color: var(--accent-color-two); }