mirror of
https://seed.radicle.dev/rad:z4D5UCArafTzTQpDZNQRuqswh3ury.git
synced 2026-10-18 19:10:45 +08:00
Split revision descriptions at a new line
In the revisions listing we are trying to display the whole revision text, which should be trimmed at a new line, or after an amount of chars.
This commit is contained in:
@@ -85,7 +85,7 @@
|
||||
<RevisionBadges {revision} {revisions} />
|
||||
<span class="txt-overflow">
|
||||
{#if revision.description[0].body.trim()}
|
||||
{revision.description[0].body}
|
||||
{revision.description[0].body.split("\n")[0]}
|
||||
{:else}
|
||||
<span
|
||||
class="txt-missing"
|
||||
|
||||
Reference in New Issue
Block a user