feat(documents): enlarge thumbnail in document-list rows

Add a `size` prop to DocumentThumbnail (default `sm` keeps the existing
60×84 tile used in person sublists; new `lg` is 120×168) and use `lg`
for the main document-list row, where the previous tile occupied less
than half of the row's vertical space.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
Marcel
2026-04-23 08:18:50 +02:00
parent 31713c324b
commit 6aae159698
2 changed files with 18 additions and 12 deletions

View File

@@ -40,7 +40,7 @@ function safeTagColor(color: string | null | undefined): string {
<a href="/documents/{doc.id}" class="block px-4 py-4 sm:py-5">
<div class="flex gap-3 sm:gap-5">
<!-- Thumbnail tile -->
<DocumentThumbnail doc={doc} />
<DocumentThumbnail doc={doc} size="lg" />
<!-- Left column -->
<div class="flex-1 sm:border-r sm:border-line sm:pr-5">