Small improvements to oldschool-mode

This commit is contained in:
Mawoka
2022-10-30 11:35:01 +01:00
parent 618e26eb2e
commit 4c78187a45
2 changed files with 2 additions and 11 deletions
+1 -1
View File
@@ -118,7 +118,7 @@
<div class="grid grid-cols-2 gap-2 w-full p-4">
{#each question.answers as answer}
<button
class="text-3xl rounded-lg h-fit text-center disabled:opacity-60 p-3"
class="rounded-lg h-fit flex align-middle justify-center disabled:opacity-60 p-3"
style="background-color: {answer.color ?? '#B45309'}"
disabled={selected_answer !== undefined}
on:click={() => selectAnswer(answer.answer)}>{answer.answer}</button
+1 -10
View File
@@ -169,7 +169,7 @@
<div class="w-full flex justify-center">
<h1 class="text-3xl">{$t('admin_page.no_answers')}</h1>
</div>
{:else if game_mode === 'kahoot'}
{:else}
<div>
<h2 class="text-center text-3xl mb-8">{$t('words.result', { count: 2 })}</h2>
</div>
@@ -180,15 +180,6 @@
bind:scores
/>
{/key}
{:else}
{#key unique}
<ShowResults
bind:results={answer_results}
bind:game_data={gameData}
bind:question_index
bind:solution
/>
{/key}
{/if}
{/if}
</div>