fix: Display preformatted option descriptions

This commit is contained in:
oSumAtrIX 2023-11-13 22:32:22 +01:00
parent 2c4daece03
commit 6a1db68779
No known key found for this signature in database
GPG Key ID: A9B3094ACDB604B4

View File

@ -91,7 +91,9 @@
{#each patch.options as option}
<div class="option">
<h5 id="option-title">{option.title}</h5>
<h5>{option.description}</h5>
<h5>
<pre id="option-description">{option.description}</pre>
</h5>
</div>
{/each}
</div>
@ -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);
}