diff --git a/frontend/src/lib/components/DocumentCard.svelte b/frontend/src/lib/components/DocumentCard.svelte index 39b7347..4afd64b 100644 --- a/frontend/src/lib/components/DocumentCard.svelte +++ b/frontend/src/lib/components/DocumentCard.svelte @@ -104,7 +104,7 @@
-
+
@@ -126,7 +126,7 @@ {/if} {#if doc.ai_tags?.length}
- {#each doc.ai_tags.slice(0, 3) as tag} + {#each doc.ai_tags.slice(0, isDesktop ? 3 : 1) as tag} {/each}
@@ -143,7 +143,7 @@ {(doc.score * 100).toFixed(0)}% {/if} {#if doc.data_origin} - + {/if} diff --git a/frontend/src/lib/components/DocumentTable.svelte b/frontend/src/lib/components/DocumentTable.svelte index a052010..b8fbdff 100644 --- a/frontend/src/lib/components/DocumentTable.svelte +++ b/frontend/src/lib/components/DocumentTable.svelte @@ -108,9 +108,9 @@ const columns = [ { key: 'title', label: '이름', flex: 'flex-1' }, - { key: 'ai_domain', label: '분류', width: 'w-48' }, - { key: 'document_type', label: '타입', width: 'w-24' }, - { key: 'file_size', label: '크기', width: 'w-20' }, + { key: 'ai_domain', label: '분류', width: 'w-48', hideOnMobile: true }, + { key: 'document_type', label: '타입', width: 'w-24', hideOnMobile: true }, + { key: 'file_size', label: '크기', width: 'w-20', hideOnMobile: true }, { key: 'created_at', label: '등록일', width: 'w-20' }, ]; @@ -124,7 +124,7 @@ {#each columns as col}
- -
+ + - -
+ + - -
+ + diff --git a/frontend/src/routes/documents/+page.svelte b/frontend/src/routes/documents/+page.svelte index b4d7f46..ea42fca 100644 --- a/frontend/src/routes/documents/+page.svelte +++ b/frontend/src/routes/documents/+page.svelte @@ -434,7 +434,7 @@