🐛 Small fixes for editor of TextAnswers
This commit is contained in:
@@ -73,7 +73,7 @@
|
|||||||
<input
|
<input
|
||||||
bind:value={answer.answer}
|
bind:value={answer.answer}
|
||||||
type="text"
|
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..."
|
placeholder="Empty..."
|
||||||
/>
|
/>
|
||||||
<button
|
<button
|
||||||
|
|||||||
@@ -239,7 +239,7 @@
|
|||||||
and {question.answers.max_correct} are correct, where numbers between {question
|
and {question.answers.max_correct} are correct, where numbers between {question
|
||||||
.answers.min} and {question.answers.max} can be selected.
|
.answers.min} and {question.answers.max} can be selected.
|
||||||
</p>
|
</p>
|
||||||
{:else if question.type === QuizQuestionType.VOTING}
|
{:else if question.type === QuizQuestionType.VOTING || question.type === QuizQuestionType.TEXT}
|
||||||
{#if Array.isArray(question.answers)}
|
{#if Array.isArray(question.answers)}
|
||||||
<div class="grid grid-cols-2 gap-2">
|
<div class="grid grid-cols-2 gap-2">
|
||||||
{#each question.answers as answer}
|
{#each question.answers as answer}
|
||||||
|
|||||||
Reference in New Issue
Block a user