refac: styling

This commit is contained in:
Timothy Jaeryang Baek
2025-07-14 17:47:21 +04:00
parent 7f1f39058a
commit f19d5b05a8
2 changed files with 12 additions and 3 deletions
+11 -3
View File
@@ -112,6 +112,12 @@
Formatting may be inconsistent from source.
</div>
{/if}
{#if item?.knowledge}
<div class="capitalize shrink-0">
{$i18n.t('Knowledge Base')}
</div>
{/if}
</div>
{#if edit}
@@ -172,9 +178,11 @@
/>
{/if}
<div class="max-h-96 overflow-scroll scrollbar-hidden text-xs whitespace-pre-wrap">
{item?.file?.data?.content ?? 'No content'}
</div>
{#if item?.file?.data}
<div class="max-h-96 overflow-scroll scrollbar-hidden text-xs whitespace-pre-wrap">
{item?.file?.data?.content ?? 'No content'}
</div>
{/if}
{/if}
</div>
</div>