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:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user