From 9d8ffca654fd76dae7bdc672027f61942dd2ec05 Mon Sep 17 00:00:00 2001 From: Mawoka Date: Sat, 3 Dec 2022 18:09:22 +0100 Subject: [PATCH] :sparkles: Closes #186 --- frontend/src/lib/play/question.svelte | 46 +++++++++++++++++---------- 1 file changed, 30 insertions(+), 16 deletions(-) diff --git a/frontend/src/lib/play/question.svelte b/frontend/src/lib/play/question.svelte index 042c421..02230fd 100644 --- a/frontend/src/lib/play/question.svelte +++ b/frontend/src/lib/play/question.svelte @@ -104,11 +104,13 @@ {@html question.question}
- + {#if game_mode !== 'kahoot'} + + {/if}
{#if question.image !== null && game_mode !== 'kahoot'} @@ -134,17 +136,29 @@ {/each} {:else if game_mode === 'kahoot'} -
- {#each question.answers as answer, i} - - {/each} +
+
+ +
+ +
+ {#each question.answers as answer, i} + + {/each} +
{:else}

Error