diff --git a/components/answered-card.tsx b/components/answered-card.tsx index bf859d7..eb6d836 100644 --- a/components/answered-card.tsx +++ b/components/answered-card.tsx @@ -1,5 +1,6 @@ "use client"; +import { CheckIcon, XIcon } from "lucide-react"; import { cn } from "@/lib/utils"; import { MessageResponse } from "@/components/ai-elements/message"; import type { QuestionAnswerData } from "@/src/core"; @@ -58,20 +59,19 @@ export function AnsweredCard({ answer }: { answer: QuestionAnswerData }) { )} > {isQuiz && ( + // SVG icons, not glyphs — exactly one text-size box (size-4), + // vertically centered in the flex row (owner). - {sel && key && "✓"} - {sel && !key && "✗"} - {!sel && key && "✓"} + {key && } + {sel && !key && } )} @@ -94,7 +94,7 @@ export function AnsweredCard({ answer }: { answer: QuestionAnswerData }) { )} - {answer.text &&
“{answer.text}”
} + {answer.text &&
“{answer.text}”
} {answer.dontKnow && isQuiz &&
Answered “I don't know”.
} {answer.note && ( @@ -102,7 +102,7 @@ export function AnsweredCard({ answer }: { answer: QuestionAnswerData }) { Your thinking - {answer.note} + {answer.note} )} diff --git a/components/composer.tsx b/components/composer.tsx index d940e0f..f2e7420 100644 --- a/components/composer.tsx +++ b/components/composer.tsx @@ -59,7 +59,7 @@ export function Composer({ placeholder="Ask, answer, or steer the lesson…" autoFocus={autoFocus} rows={1} - className="field-sizing-content font-prose max-h-48 min-h-10 flex-1 resize-none bg-transparent px-2.5 py-2 text-sm outline-none placeholder:text-muted-foreground" + className="field-sizing-content lh-prose max-h-48 min-h-10 flex-1 resize-none bg-transparent px-2.5 py-2 outline-none placeholder:text-muted-foreground" /> {verdict && !busy ? ( // The plan verdict (docs/probe-teach-split.md §4): accept diff --git a/components/home.tsx b/components/home.tsx index 24ba138..a5d1846 100644 --- a/components/home.tsx +++ b/components/home.tsx @@ -82,7 +82,7 @@ export function Home() { placeholder="What do you want to learn?" autoFocus rows={1} - className="field-sizing-content max-h-48 min-h-10 flex-1 resize-none bg-transparent px-2.5 py-2 text-sm outline-none placeholder:text-muted-foreground" + className="field-sizing-content lh-prose max-h-48 min-h-10 flex-1 resize-none bg-transparent px-2.5 py-2 outline-none placeholder:text-muted-foreground" />