mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-09 03:18:18 +00:00
refac
This commit is contained in:
parent
32810b4152
commit
b1d5b3b28e
1 changed files with 2 additions and 5 deletions
|
|
@ -539,9 +539,6 @@
|
|||
<div class="flex flex-col h-full">
|
||||
<div class="flex items-center justify-between mb-2 shrink-0">
|
||||
<div class="text-gray-500 text-xs">{$i18n.t('History')}</div>
|
||||
{#if historyLoading}
|
||||
<Spinner className="size-3" />
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
{#if history.length > 0}
|
||||
|
|
@ -550,7 +547,7 @@
|
|||
<div class="flex">
|
||||
<!-- Content -->
|
||||
<button
|
||||
class="flex-1 text-left px-3.5 py-2 mb-1 rounded-2xl transition group
|
||||
class="flex-1 text-left px-3.5 py-2 mb-1 rounded-xl transition group
|
||||
{selectedHistoryEntry?.id === entry.id
|
||||
? 'bg-gray-50 dark:bg-gray-850'
|
||||
: 'hover:bg-gray-50 dark:hover:bg-gray-850'}"
|
||||
|
|
@ -584,7 +581,7 @@
|
|||
</div>
|
||||
{/each}
|
||||
|
||||
{#if historyHasMore && historyLoading}
|
||||
{#if historyLoading}
|
||||
<div class="flex justify-center py-2">
|
||||
<Spinner className="size-3" />
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue