FilesBlock: description on second line below filename

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Peter Meier
2026-05-18 08:43:10 +02:00
parent 1284be9c42
commit 774ac893ec
+6 -4
View File
@@ -131,10 +131,12 @@
<span class="text-[.55rem] text-stein-400 tabular-nums leading-tight whitespace-nowrap">{f.sizeLabel}</span>
{/if}
</span>
<span class="flex-1 min-w-0 text-sm text-stein-900 group-hover:underline truncate">{f.label}</span>
{#if f.description}
<span class="hidden md:block text-xs text-stein-400 truncate max-w-48">{f.description}</span>
{/if}
<span class="flex-1 min-w-0 flex flex-col">
<span class="text-sm text-stein-900 group-hover:underline truncate">{f.label}</span>
{#if f.description}
<span class="text-xs text-stein-400 truncate">{f.description}</span>
{/if}
</span>
</a>
</li>
{/each}