refac: styling

This commit is contained in:
Timothy Jaeryang Baek
2025-11-30 03:47:34 -05:00
parent e65d92fc6f
commit 9d39b9b42c
13 changed files with 409 additions and 339 deletions
@@ -157,18 +157,14 @@
<slot name="label">
<div class="mb-2">
<div class="flex w-full justify-between mb-1">
<div class=" self-center text-sm font-medium">
<div class=" self-center text-xs font-medium text-gray-500">
{$i18n.t('Knowledge')}
</div>
</div>
<div class=" text-xs dark:text-gray-500">
{$i18n.t('To attach knowledge base here, add them to the "Knowledge" workspace first.')}
</div>
</div>
</slot>
<div class="flex flex-col">
<div class="flex flex-col mb-1">
{#if selectedItems?.length > 0}
<div class=" flex flex-wrap items-center gap-2 mb-2.5">
{#each selectedItems as file, fileIdx}
@@ -228,4 +224,8 @@
{/if}
<!-- {knowledge} -->
</div>
<div class=" text-xs dark:text-gray-700">
{$i18n.t('To attach knowledge base here, add them to the "Knowledge" workspace first.')}
</div>
</div>