瀏覽代碼

Swapped from inline style to using tailwind class.

rdavis 10 月之前
父節點
當前提交
b0d9aa38d2
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      src/lib/components/admin/UserChatsModal.svelte

+ 3 - 3
src/lib/components/admin/UserChatsModal.svelte

@@ -85,7 +85,7 @@
 											{#if sortKey === 'title'}
 												{sortOrder === 'asc' ? '▲' : '▼'}
 											{:else}
-												<span style="visibility:hidden">▲</span>
+												<span class="invisible">▲</span>
 											{/if}
 										</th>
 										<th scope="col" class="px-3 py-2 cursor-pointer select-none" on:click={() => setSortKey('created_at')}>
@@ -93,7 +93,7 @@
 											{#if sortKey === 'created_at'}
 												{sortOrder === 'asc' ? '▲' : '▼'}
 											{:else}
-												<span style="visibility:hidden">▲</span>
+												<span class="invisible">▲</span>
 											{/if}
 										</th>
 										<th scope="col" class="px-3 py-2 hidden md:flex cursor-pointer select-none" on:click={() => setSortKey('updated_at')}>
@@ -101,7 +101,7 @@
 											{#if sortKey === 'updated_at'}
 												{sortOrder === 'asc' ? '▲' : '▼'}
 											{:else}
-												<span style="visibility:hidden">▲</span>
+												<span class="invisible">▲</span>
 											{/if}
 										</th>
 										<th scope="col" class="px-3 py-2 text-right" />