fix: css issues

This commit is contained in:
Matthias Jung
2026-08-04 23:55:16 +02:00
parent c51760c57a
commit b34745db4c
3 changed files with 5 additions and 4 deletions
+2 -2
View File
@@ -95,12 +95,12 @@
.answer-table td.answer-cell-solution,
.answer-table td.answer-cell-correct .answer-mark,
.answer-table td.answer-cell-solution .answer-mark {
background-color: #3bb583;
background-color: #3bb583 !important;
}
.answer-table td.answer-cell-wrong,
.answer-table td.answer-cell-wrong .answer-mark {
background-color: #fe756c;
background-color: #fe756c !important;
}
.exam-question {
+1 -1
View File
@@ -344,7 +344,7 @@
}
function answerCellClass(questionIndex, answerIndex) {
if (currentPart.value.status !== "evaluated") return "";
if (currentPart.value.status === "running") return "";
var question = currentPart.value.questions[questionIndex];
var sourceIndex = question.order[answerIndex];
if (question.selected === answerIndex && sourceIndex === 0) return "answer-cell-correct";