This commit is contained in:
Timothy Jaeryang Baek
2026-01-24 04:17:11 +04:00
parent 32810b4152
commit b1d5b3b28e
@@ -539,9 +539,6 @@
<div class="flex flex-col h-full"> <div class="flex flex-col h-full">
<div class="flex items-center justify-between mb-2 shrink-0"> <div class="flex items-center justify-between mb-2 shrink-0">
<div class="text-gray-500 text-xs">{$i18n.t('History')}</div> <div class="text-gray-500 text-xs">{$i18n.t('History')}</div>
{#if historyLoading}
<Spinner className="size-3" />
{/if}
</div> </div>
{#if history.length > 0} {#if history.length > 0}
@@ -550,7 +547,7 @@
<div class="flex"> <div class="flex">
<!-- Content --> <!-- Content -->
<button <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 {selectedHistoryEntry?.id === entry.id
? 'bg-gray-50 dark:bg-gray-850' ? 'bg-gray-50 dark:bg-gray-850'
: 'hover:bg-gray-50 dark:hover:bg-gray-850'}" : 'hover:bg-gray-50 dark:hover:bg-gray-850'}"
@@ -584,7 +581,7 @@
</div> </div>
{/each} {/each}
{#if historyHasMore && historyLoading} {#if historyLoading}
<div class="flex justify-center py-2"> <div class="flex justify-center py-2">
<Spinner className="size-3" /> <Spinner className="size-3" />
</div> </div>