This commit is contained in:
Timothy Jaeryang Baek committed 2026-07-17 03:40:28 -04:00
1 parent 88c6b8bc5c
commit af8cc6c91a
6 files changed
+76 -70

No files matched your search

@@ -217,7 +217,7 @@
<Spinner className="size-5" />
</div>
{:else}
<div class="space-y-1">
<div>
{#if modelIds.length > 0 || total > 0}
<div class="flex h-8 flex-1 items-center w-full gap-2">
<div
@@ -318,7 +318,7 @@
<tr class=" border-b-[1.5px] border-gray-50 dark:border-gray-850/30">
<th
scope="col"
class="px-2.5 py-2 cursor-pointer select-none w-3"
class="px-2.5 py-2 font-normal cursor-pointer select-none w-3"
on:click={() => setSortKey('user')}
>
<div class="flex gap-1.5 items-center justify-end">
@@ -341,7 +341,7 @@
<th
scope="col"
class="px-2.5 py-2 cursor-pointer select-none"
class="px-2.5 py-2 font-normal cursor-pointer select-none"
on:click={() => setSortKey('model_id')}
>
<div class="flex gap-1.5 items-center">
@@ -364,7 +364,7 @@
<th
scope="col"
class="px-2.5 py-2 text-right cursor-pointer select-none w-fit"
class="px-2.5 py-2 font-normal text-right cursor-pointer select-none w-fit"
on:click={() => setSortKey('rating')}
>
<div class="flex gap-1.5 items-center justify-end">
@@ -387,7 +387,7 @@
<th
scope="col"
class="px-2.5 py-2 text-right cursor-pointer select-none w-0"
class="px-2.5 py-2 font-normal text-right cursor-pointer select-none w-0"
on:click={() => setSortKey('updated_at')}
>
<div class="flex gap-1.5 items-center justify-end">
@@ -408,7 +408,11 @@
</div>
</th>
<th scope="col" class="px-2.5 py-2 text-right cursor-pointer select-none w-0"> </th>
<th
scope="col"
class="px-2.5 py-2 font-normal text-right cursor-pointer select-none w-0"
>
</th>
</tr>
</thead>
<tbody class="">
@@ -122,8 +122,8 @@
<ModelModal bind:show={showModal} model={selectedModel} onClose={closeModal} />
<div class="space-y-1">
<div class="pt-0.5 pb-1 sticky top-0 z-10 bg-white dark:bg-gray-900">
<div>
<div class="sticky top-0 z-10 bg-white dark:bg-gray-900">
<div class="flex h-8 flex-1 items-center w-full gap-2">
<div class="flex min-w-0 flex-1 items-center">
<div class="self-center ml-1 mr-3">
@@ -177,7 +177,7 @@
{#each [{ key: 'rating', label: 'RK', class: 'w-3' }, { key: 'name', label: 'Model', class: '' }, { key: 'rating', label: 'Rating', class: 'text-right w-fit' }, { key: 'won', label: 'Won', class: 'text-right w-5' }, { key: 'lost', label: 'Lost', class: 'text-right w-5' }] as col}
<th
scope="col"
class="px-2.5 py-2 cursor-pointer select-none {col.class}"
class="px-2.5 py-2 font-normal cursor-pointer select-none {col.class}"
on:click={() => toggleSort(col.key)}
>
<div