Add styling for correct-answer badge to allow text wrapping
This commit is contained in:
@@ -90,7 +90,7 @@
|
||||
{% if question.e_feedback %}<div class="small text-muted mt-1">Feedback: <em>{{ question.e_feedback|safe }}</em></div>{% endif %}
|
||||
</li>
|
||||
</ol>
|
||||
<div class="mt-2">Correct: <span class="badge bg-success text-white fs-5 py-2 px-3 rounded-pill">{{ question.get_correct_answer_stripped }}</span></div>
|
||||
<div class="mt-2">Correct: <span class="badge bg-success text-white fs-5 py-2 px-3 rounded-pill correct-badge">{{ question.get_correct_answer_stripped }}</span></div>
|
||||
{% endautoescape %}
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user