strike through team name if both members are dead
This commit is contained in:
@ -49,7 +49,11 @@
|
|||||||
<td>
|
<td>
|
||||||
<div class="flex items-center gap-x-2">
|
<div class="flex items-center gap-x-2">
|
||||||
<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>
|
||||||
<h3 class="text-xs sm:text-xl break-all" class:text-red-200={!team.memberOne}>
|
<h3
|
||||||
|
class="text-xs sm:text-xl break-all"
|
||||||
|
class:line-through={team.memberOne.dead && team.memberTwo.dead}
|
||||||
|
class:text-red-200={!team.memberOne}
|
||||||
|
>
|
||||||
{team.name}
|
{team.name}
|
||||||
</h3>
|
</h3>
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user