mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 12:25:20 +00:00
refac: styling
This commit is contained in:
parent
a53537ccde
commit
8f41db2f2e
1 changed files with 2 additions and 2 deletions
|
|
@ -110,7 +110,7 @@
|
||||||
{name}
|
{name}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class=" flex justify-between text-gray-500 text-xs">
|
<div class=" flex justify-between text-gray-500 text-xs line-clamp-1">
|
||||||
{#if type === 'file'}
|
{#if type === 'file'}
|
||||||
{$i18n.t('File')}
|
{$i18n.t('File')}
|
||||||
{:else if type === 'doc'}
|
{:else if type === 'doc'}
|
||||||
|
|
@ -118,7 +118,7 @@
|
||||||
{:else if type === 'collection'}
|
{:else if type === 'collection'}
|
||||||
{$i18n.t('Collection')}
|
{$i18n.t('Collection')}
|
||||||
{:else}
|
{:else}
|
||||||
<span class=" capitalize">{type}</span>
|
<span class=" capitalize line-clamp-1">{type}</span>
|
||||||
{/if}
|
{/if}
|
||||||
{#if size}
|
{#if size}
|
||||||
<span class="capitalize">{formatFileSize(size)}</span>
|
<span class="capitalize">{formatFileSize(size)}</span>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue