Wave-5 reskin batch 6: learner-authored text joins the prose surface

The plain user-text div renders Source Sans 3 too (.lh-prose) — the
teaching surface reads in one family, chrome labels stay JetBrains Mono.

Build green; gates clean. The reskin's final live-browser pass runs on
this tree (dev on 3001) — no screenshot tooling in this session, SSR
checked.
This commit is contained in:
amosblomqvist
2026-09-12 23:50:40 +03:00
parent 3360181e41
commit fd4f988289
+1 -1
View File
@@ -530,7 +530,7 @@ export function Chat({
{m.role === "user" ? (
// User text renders plain: the model's LaTeX pipeline is not
// applied to learner-authored text ($ stays $, no surprises).
<div className="whitespace-pre-wrap">
<div className="lh-prose whitespace-pre-wrap">
{m.parts.filter((p) => p.type === "text").map((p) => p.text).join("\n")}
</div>
) : (