fix(live-game): timer fixed size only when the game has started

This commit is contained in:
Valentin Kaelin 2020-10-16 22:20:26 +02:00
parent 2b2f46d71c
commit 77eb091b11
2 changed files with 7 additions and 2 deletions

View file

@ -7,7 +7,12 @@
<span>V</span>
<span class="ml-4 -mt-3">S</span>
</div>
<div class="w-10 pb-2 text-blue-200">{{ displayStartTime }}</div>
<div
:class="{'w-10': displayStartTime !== 'Not started yet'}"
class="pb-2 text-blue-200"
>
{{ displayStartTime }}
</div>
</div>
<ul class="w-1/2 text-left">
<li

View file

@ -4,7 +4,7 @@
<div v-if="liveLoaded" class="flex items-center justify-end -mt-4 text-base text-blue-200">
<div>{{ gamemode.type }} {{ gamemode.name }}</div>
<div class="mx-2">-</div>
<div class="w-12">{{ displayStartTime }}</div>
<div :class="{'w-12': displayStartTime !== 'Not started yet'}">{{ displayStartTime }}</div>
<button
@click="liveMatchRequest"
class="px-3 py-1 ml-4 text-blue-100 bg-blue-800 rounded-md shadow-md hover:bg-blue-760"