Fixes ian/gb-125-changed-file-names-getting-truncated

Truncation was not working
This commit is contained in:
Ian Donahue 2023-03-28 13:12:21 +02:00
parent c61e49dd34
commit 6d8c1fbbdd

View File

@ -283,11 +283,16 @@
</div>
{:else}
<div class="rounded border border-yellow-400 bg-yellow-500 p-4 font-mono text-yellow-900">
<ul class="w-80 truncate pl-4">
<ul class="pl-4">
{#each $filesStatus as activity}
<li class="list-disc">
{activity.status.slice(0, 1)}
<span use:collapsable={{ value: activity.path, separator: '/' }} />
<div class="w-full flex gap-2 ">
{activity.status.slice(0, 1)}
<div
class="truncate"
use:collapsable={{ value: activity.path, separator: '/' }}
/>
</div>
</li>
{/each}
</ul>