Skip to content

Commit

Permalink
fix: detail dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
ttamx committed May 12, 2024
1 parent c7816e8 commit e01f814
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/Scoreboard.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -362,15 +362,15 @@ dialog {
class="border-separate border-spacing-0 rounded-lg border border-gray-500 mx-auto overflow-hidden text-center"
>
<tr>
<th class="py-1 px-4">Subtask</th>
<th class="border-collapse border border-gray-500 py-1 px-4">Subtask</th>
{#each Object.keys(users[name][task]) as index}
<td class="py-1 px-4">{index}</td>
<td class="border-collapse border border-gray-500 py-1 px-4">{index}</td>
{/each}
</tr>
<tr>
<th>Score</th>
<th class="border-collapse border border-gray-500 py-1 px-4">Score</th>
{#each Object.values(users[name][task]) as score}
<td class="py-1 px-4">{score}</td>
<td class="border-collapse border border-gray-500 py-1 px-4">{score}</td>
{/each}
</tr>
</table>
Expand Down

0 comments on commit e01f814

Please sign in to comment.