fix: css issues
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user