ui: round four — thinner rail, tighter band, the accent step, early wrap
Owner round four on the user rows: (1) the rail thins - the gap inside the 3ch inset grows 5px -> 8px, so the rail is calc(3ch-8px); total inset still 3ch, chevron law intact. (2) The band padding drops again, 5px -> 4px (py-1). (3) The in-card thinking band steps to bg-accent - the same ONE-STEP lift the chat band gets (background->card on the page, card->accent on the card); card-color on card-color was invisible, the accent gives the card rows a visible band with identical heights. (4) pr-4 on the band rows - the expanded text wraps EARLY instead of hugging the band's clear right edge.
This commit is contained in:
@@ -143,11 +143,16 @@ export function AnsweredCard({ answer }: { answer: QuestionAnswerData }) {
|
||||
|
||||
{(answer.thinking ?? answer.note) && (
|
||||
/* The SAME unified row (owner round, 2026-10-05): the quiz answer's
|
||||
thinking is the identical collapsible ThinkingBlock — and since
|
||||
owner round three (2026-10-07) IDENTICALLY styled, band and all:
|
||||
collapsed thinking matches in height everywhere, card or chat
|
||||
(card-on-card is quiet by design; too light → revert). */
|
||||
<ThinkingBlock testId="your-thinking" label="YOUR THINKING" text={answer.thinking ?? answer.note ?? ""} />
|
||||
thinking is the identical collapsible ThinkingBlock — one
|
||||
geometry, and since owner round four (2026-10-07) the band steps
|
||||
to accent on the card's surface (the same one-step lift the chat
|
||||
band gets). Collapsed thinking matches in height everywhere. */
|
||||
<ThinkingBlock
|
||||
testId="your-thinking"
|
||||
label="YOUR THINKING"
|
||||
text={answer.thinking ?? answer.note ?? ""}
|
||||
inCard
|
||||
/>
|
||||
)}
|
||||
|
||||
{/* px-3→removed: card p-4 + box px-3 double-inset sat the "Why" label deeper
|
||||
|
||||
Reference in New Issue
Block a user