mirror of
https://github.com/open-webui/open-webui
synced 2025-05-19 04:43:00 +00:00
refac: styling
This commit is contained in:
parent
40d5082b9f
commit
58261a7b83
@ -290,9 +290,17 @@
|
|||||||
<div class="font-semibold text-gray-600 dark:text-gray-400 flex-1">
|
<div class="font-semibold text-gray-600 dark:text-gray-400 flex-1">
|
||||||
{feedback.data?.model_id}
|
{feedback.data?.model_id}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<Tooltip content={feedback.data.sibling_model_ids.join(', ')}>
|
||||||
<div class=" text-[0.65rem] text-gray-600 dark:text-gray-400 line-clamp-1">
|
<div class=" text-[0.65rem] text-gray-600 dark:text-gray-400 line-clamp-1">
|
||||||
|
{#if feedback.data.sibling_model_ids.length > 2}
|
||||||
|
{feedback.data.sibling_model_ids.slice(0, 2).join(', ')}, and
|
||||||
|
{feedback.data.sibling_model_ids.length - 2} more
|
||||||
|
{:else}
|
||||||
{feedback.data.sibling_model_ids.join(', ')}
|
{feedback.data.sibling_model_ids.join(', ')}
|
||||||
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
|
</Tooltip>
|
||||||
{:else}
|
{:else}
|
||||||
<div
|
<div
|
||||||
class=" text-sm font-medium text-gray-600 dark:text-gray-400 flex-1 py-1.5"
|
class=" text-sm font-medium text-gray-600 dark:text-gray-400 flex-1 py-1.5"
|
||||||
|
Loading…
Reference in New Issue
Block a user