Add line breaks to description

This commit is contained in:
2025-09-11 22:51:23 +02:00
parent 86a66aad37
commit 5d4e802796
7 changed files with 53 additions and 19 deletions
+5 -6
View File
@@ -120,12 +120,7 @@ ${document.location.href}`
/>
<VaCardContent>
<div class="mb-4 flex flex-col gap-2">
<p
v-for="(line, i) in tKey(data, 'description').value.split('\n')"
:key="i"
>
{{ line }}
</p>
<MultilineString :text="tKey(data, 'description').value" />
</div>
<p v-if="data.start" class="text-xl">
{{
@@ -246,6 +241,10 @@ ${document.location.href}`
<VaButton
v-if="data.isMember"
color="danger"
:preset="(quest.unreviewed || 0) <= 0 ? 'secondary' : undefined"
:border-color="
(quest.unreviewed || 0) <= 0 ? 'danger' : undefined
"
:icon="(quest.unreviewed || 0) > 0 ? 'priority_high' : undefined"
:to="
$localePath(