Render multi-line diff entries
Rework the rendering of the DiffEntry component to properly show multiline entries as spanning multiple lines.
This commit is contained in:
parent
a8c62e6688
commit
6d9d937c70
2 changed files with 17 additions and 12 deletions
|
@ -13,7 +13,7 @@
|
|||
<p v-if=event?.host>
|
||||
Host: {{ event.host }}
|
||||
</p>
|
||||
<p>{{ event?.description ?? "No description provided" }}</p>
|
||||
<p class="preWrap">{{ event?.description ?? "No description provided" }}</p>
|
||||
<p v-if="locations.length">
|
||||
At {{ locations.map(location => location?.name ?? "unknown").join(" + ") }}
|
||||
</p>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue