Spaces:
Sleeping
Sleeping
Scott Harshman commited on
Quiz: switch h2 to div for question text (Streamlit was hiding h2)
Browse files
app.py
CHANGED
|
@@ -2173,7 +2173,7 @@ def _render_quiz_card_open(step, total, question, helper):
|
|
| 2173 |
f'<div class="quiz-card">'
|
| 2174 |
f'<div class="quiz-progress-text">Step {step} of {total}</div>'
|
| 2175 |
f'<div class="quiz-progress-bar"><div class="quiz-progress-fill" style="width:{pct}%"></div></div>'
|
| 2176 |
-
f'<
|
| 2177 |
f'<p class="quiz-helper">{helper}</p>'
|
| 2178 |
f'</div>',
|
| 2179 |
unsafe_allow_html=True,
|
|
|
|
| 2173 |
f'<div class="quiz-card">'
|
| 2174 |
f'<div class="quiz-progress-text">Step {step} of {total}</div>'
|
| 2175 |
f'<div class="quiz-progress-bar"><div class="quiz-progress-fill" style="width:{pct}%"></div></div>'
|
| 2176 |
+
f'<div class="quiz-question">{question}</div>'
|
| 2177 |
f'<p class="quiz-helper">{helper}</p>'
|
| 2178 |
f'</div>',
|
| 2179 |
unsafe_allow_html=True,
|