Skip to content

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

fix(web): keep the reader's figure captions off the monospace rule

flower-moonf43c4ec49e77
diff --git a/web/components/reading/TextUnitView.tsx b/web/components/reading/TextUnitView.tsx
index 36693fd7e..01394e0d4 100644
--- a/web/components/reading/TextUnitView.tsx
+++ b/web/components/reading/TextUnitView.tsx
@@ -680,7 +680,7 @@ export function TextUnitView({
loading="lazy"
className="max-h-[70vh] w-auto max-w-full rounded-lg border border-[var(--border)]"
/>
- <figcaption className="mt-1.5 text-center font-mono text-[10.5px] text-[var(--muted-foreground)]">
+ <figcaption className="mt-1.5 text-center text-[10.5px] text-[var(--muted-foreground)]">
{item.name}
</figcaption>
</figure>