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 a784e41 commit c7816e8
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 @@ -188,7 +188,7 @@
text-overflow: ellipsis;
white-space: nowrap;
text-align: center;
font-weight: normal;
font-weight: bold;
font-size: medium;
}
#subtask tr td{
Expand Down 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>Subtask</th>
<th class="py-1 px-4">Subtask</th>
{#each Object.keys(users[name][task]) as index}
<td>{index}</td>
<td class="py-1 px-4">{index}</td>
{/each}
</tr>
<tr>
<th>Score</th>
{#each Object.values(users[name][task]) as score}
<td>{score}</td>
<td class="py-1 px-4">{score}</td>
{/each}
</tr>
</table>
Expand Down

0 comments on commit c7816e8

Please sign in to comment.