🐛 Small fixes for editor of TextAnswers

This commit is contained in:
Mawoka
2022-12-31 14:04:35 +01:00
parent 9cc8db7fc2
commit fb38c07eec
2 changed files with 2 additions and 2 deletions
@@ -73,7 +73,7 @@
<input
bind:value={answer.answer}
type="text"
class="border-b-2 border-dotted w-5/6 text-center rounded-lg"
class="border-b-2 border-dotted w-5/6 text-center rounded-lg bg-transparent"
placeholder="Empty..."
/>
<button
+1 -1
View File
@@ -239,7 +239,7 @@
and {question.answers.max_correct} are correct, where numbers between {question
.answers.min} and {question.answers.max} can be selected.
</p>
{:else if question.type === QuizQuestionType.VOTING}
{:else if question.type === QuizQuestionType.VOTING || question.type === QuizQuestionType.TEXT}
{#if Array.isArray(question.answers)}
<div class="grid grid-cols-2 gap-2">
{#each question.answers as answer}