mirror of
https://github.com/open-webui/open-webui
synced 2025-06-26 18:26:48 +00:00
Swapped from inline style to using tailwind class.
This commit is contained in:
@@ -155,7 +155,7 @@
|
|||||||
{#if sortKey === 'role'}
|
{#if sortKey === 'role'}
|
||||||
{sortOrder === 'asc' ? '▲' : '▼'}
|
{sortOrder === 'asc' ? '▲' : '▼'}
|
||||||
{:else}
|
{:else}
|
||||||
<span style="visibility:hidden">▲</span>
|
<span class="invisible">▲</span>
|
||||||
{/if}
|
{/if}
|
||||||
</th>
|
</th>
|
||||||
<th scope="col" class="px-3 py-2 cursor-pointer select-none" on:click={() => setSortKey('name')}>
|
<th scope="col" class="px-3 py-2 cursor-pointer select-none" on:click={() => setSortKey('name')}>
|
||||||
@@ -163,7 +163,7 @@
|
|||||||
{#if sortKey === 'name'}
|
{#if sortKey === 'name'}
|
||||||
{sortOrder === 'asc' ? '▲' : '▼'}
|
{sortOrder === 'asc' ? '▲' : '▼'}
|
||||||
{:else}
|
{:else}
|
||||||
<span style="visibility:hidden">▲</span>
|
<span class="invisible">▲</span>
|
||||||
{/if}
|
{/if}
|
||||||
</th>
|
</th>
|
||||||
<th scope="col" class="px-3 py-2 cursor-pointer select-none" on:click={() => setSortKey('email')}>
|
<th scope="col" class="px-3 py-2 cursor-pointer select-none" on:click={() => setSortKey('email')}>
|
||||||
@@ -171,7 +171,7 @@
|
|||||||
{#if sortKey === 'email'}
|
{#if sortKey === 'email'}
|
||||||
{sortOrder === 'asc' ? '▲' : '▼'}
|
{sortOrder === 'asc' ? '▲' : '▼'}
|
||||||
{:else}
|
{:else}
|
||||||
<span style="visibility:hidden">▲</span>
|
<span class="invisible">▲</span>
|
||||||
{/if}
|
{/if}
|
||||||
</th>
|
</th>
|
||||||
<th scope="col" class="px-3 py-2 cursor-pointer select-none" on:click={() => setSortKey('last_active_at')}>
|
<th scope="col" class="px-3 py-2 cursor-pointer select-none" on:click={() => setSortKey('last_active_at')}>
|
||||||
@@ -179,7 +179,7 @@
|
|||||||
{#if sortKey === 'last_active_at'}
|
{#if sortKey === 'last_active_at'}
|
||||||
{sortOrder === 'asc' ? '▲' : '▼'}
|
{sortOrder === 'asc' ? '▲' : '▼'}
|
||||||
{:else}
|
{:else}
|
||||||
<span style="visibility:hidden">▲</span>
|
<span class="invisible">▲</span>
|
||||||
{/if}
|
{/if}
|
||||||
</th>
|
</th>
|
||||||
<th scope="col" class="px-3 py-2 cursor-pointer select-none" on:click={() => setSortKey('created_at')}>
|
<th scope="col" class="px-3 py-2 cursor-pointer select-none" on:click={() => setSortKey('created_at')}>
|
||||||
@@ -187,7 +187,7 @@
|
|||||||
{#if sortKey === 'created_at'}
|
{#if sortKey === 'created_at'}
|
||||||
{sortOrder === 'asc' ? '▲' : '▼'}
|
{sortOrder === 'asc' ? '▲' : '▼'}
|
||||||
{:else}
|
{:else}
|
||||||
<span style="visibility:hidden">▲</span>
|
<span class="invisible">▲</span>
|
||||||
{/if}
|
{/if}
|
||||||
</th>
|
</th>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user