update table
This commit is contained in:
@@ -51,9 +51,9 @@
|
|||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th style="width: 30%">Team</th>
|
<th style="width: 30%">Team</th>
|
||||||
<th style="width: 30%">Spieler 1</th>
|
<th style="width: 25%">Spieler 1</th>
|
||||||
<th style="width: 30%">Spieler 2</th>
|
<th style="width: 25%">Spieler 2</th>
|
||||||
<th style="width: 10%">Kills</th>
|
<th style="width: 20%">Kills</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@@ -62,7 +62,7 @@
|
|||||||
{@const teamDead = !!team.memberOne.dead && !!team.memberTwo.dead}
|
{@const teamDead = !!team.memberOne.dead && !!team.memberTwo.dead}
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<div class="flex items-center gap-x-2">
|
<div class="flex items-center gap-x-2 w-full">
|
||||||
<div class="relative">
|
<div class="relative">
|
||||||
<div class="rounded-sm min-w-3 w-3 min-h-3 h-3" style="background-color: {team.color}"></div>
|
<div class="rounded-sm min-w-3 w-3 min-h-3 h-3" style="background-color: {team.color}"></div>
|
||||||
{#if aliveTeams === 1 && teamSignedUp && !teamDead}
|
{#if aliveTeams === 1 && teamSignedUp && !teamDead}
|
||||||
@@ -80,7 +80,7 @@
|
|||||||
{/if}
|
{/if}
|
||||||
</td>
|
</td>
|
||||||
<td class="max-w-9 overflow-ellipsis">
|
<td class="max-w-9 overflow-ellipsis">
|
||||||
<div class="flex items-center gap-x-2 w-max tooltip">
|
<div class="flex items-center gap-x-2 w-full tooltip">
|
||||||
{#if team.memberOne.kills.length > 0 || team.memberOne.dead}
|
{#if team.memberOne.kills.length > 0 || team.memberOne.dead}
|
||||||
<div class="tooltip-content text-left space-y-1">
|
<div class="tooltip-content text-left space-y-1">
|
||||||
{#each team.memberOne.kills as kill (kill.killed.id)}
|
{#each team.memberOne.kills as kill (kill.killed.id)}
|
||||||
@@ -109,7 +109,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<div class="flex items-center gap-x-2 w-max tooltip">
|
<div class="flex items-center gap-x-2 w-full tooltip">
|
||||||
{#if team.memberTwo.kills.length > 0 || team.memberTwo.dead}
|
{#if team.memberTwo.kills.length > 0 || team.memberTwo.dead}
|
||||||
<div class="tooltip-content text-left space-y-1">
|
<div class="tooltip-content text-left space-y-1">
|
||||||
{#each team.memberTwo.kills as kill (kill.killed.id)}
|
{#each team.memberTwo.kills as kill (kill.killed.id)}
|
||||||
@@ -138,7 +138,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<span class="text-xs sm:text-md">
|
<span class="text-xs sm:text-md w-full">
|
||||||
{team.memberOne.kills.length + team.memberTwo.kills.length}
|
{team.memberOne.kills.length + team.memberTwo.kills.length}
|
||||||
</span>
|
</span>
|
||||||
</td>
|
</td>
|
||||||
|
Reference in New Issue
Block a user