💄 Added more styling to new text-questions
This commit is contained in:
@@ -261,7 +261,9 @@
|
|||||||
{/each}
|
{/each}
|
||||||
</div>
|
</div>
|
||||||
{:else}
|
{:else}
|
||||||
<p>Enter your answer into the input field!</p>
|
<div class="flex justify-center">
|
||||||
|
<p class="text-2xl">Enter your answer into the input field!</p>
|
||||||
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
{/if}
|
{/if}
|
||||||
{/if}
|
{/if}
|
||||||
|
|||||||
@@ -190,7 +190,16 @@
|
|||||||
</div>
|
</div>
|
||||||
{/await}
|
{/await}
|
||||||
{:else if question.type === QuizQuestionType.TEXT}
|
{:else if question.type === QuizQuestionType.TEXT}
|
||||||
<input bind:value={text_input} />
|
<div class="flex justify-center">
|
||||||
|
<p class="text-black dark:text-white">Enter your answer</p>
|
||||||
|
</div>
|
||||||
|
<div class="flex justify-center m-2">
|
||||||
|
<input
|
||||||
|
type="text"
|
||||||
|
bind:value={text_input}
|
||||||
|
class="bg-gray-50 focus:ring text-gray-900 rounded-lg focus:ring-blue-500 block w-full p-2 dark:bg-gray-700 dark:text-white dark:focus:ring-blue-500 outline-none transition text-center"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="flex justify-center">
|
<div class="flex justify-center">
|
||||||
<button
|
<button
|
||||||
|
|||||||
Reference in New Issue
Block a user