Merge pull request #69 from gitbutlerapp/ian/gb-125-changed-file-names-getting-truncated

Ian/gb 125 changed file names getting truncated
This commit is contained in:
Ian Donahue 2023-03-28 13:19:49 +02:00 committed by GitHub
commit 38b6629159
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 3 deletions

View File

@ -39,6 +39,11 @@
width: 0;
height: 0;
}
.scrollbar-hidden::-webkit-scrollbar {
-webkit-appearance: none;
width: 0;
height: 0;
}
/* COMMAND PALETTE */

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>