ui: Avoid floating expansion

This commit is contained in:
nemunaire 2021-09-02 11:15:35 +02:00
parent a5bf9d2600
commit eca6a4238d
2 changed files with 2 additions and 2 deletions

View File

@ -83,7 +83,7 @@
<Nav class="ms-auto text-light" navbar>
{#if $my && $my.team_id}
<NavItem>
{$my.score} {$my.score === 1 ? 'point' : 'points'}
{Math.round($my.score*100)/100} {$my.score === 1 ? 'point' : 'points'}
{#if $teams && $teams[$my.team_id].rank}
&ndash; {$teams[$my.team_id].rank}<sup>e</sup> sur {Object.keys($teams).length}
{/if}

View File

@ -42,7 +42,7 @@
<tr class:bg-info={$my && $my.team_id == team.id} class:bg-warning={search.length && team.name.toLowerCase().indexOf(search.toLowerCase()) >= 0}>
<td>{team.rank}</td>
<td>{team.name}</td>
<td>{team.score}</td>
<td>{Math.round(team.score*100)/100}</td>
</tr>
{/if}
{/each}