Scott Harshman commited on
Commit
50f3e93
·
verified ·
1 Parent(s): b23386a

Quiz: switch h2 to div for question text (Streamlit was hiding h2)

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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'<h2 class="quiz-question">{question}</h2>'
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,