Skip to content

DeepTutor: Lifelong Personalized Tutoring. https://deeptutor.info/.

fix(quiz): wrap LaTeX option label in a div, not a span

Bingxi Zhao (Frank)7caa0506a80a
diff --git a/web/components/quiz/QuizViewer.tsx b/web/components/quiz/QuizViewer.tsx
index 831ac716e..dd6fd6a22 100644
--- a/web/components/quiz/QuizViewer.tsx
+++ b/web/components/quiz/QuizViewer.tsx
@@ -1038,13 +1038,13 @@ export default function QuizViewer({
key
)}
</span>
- <span className="min-w-0 leading-relaxed">
+ <div className="min-w-0 leading-relaxed">
<MarkdownRenderer
content={text}
variant="compact"
enableMath
/>
- </span>
+ </div>
</button>
);
})}