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:
@@ -185,7 +185,7 @@ describe("the practice transcript cards", () => {
|
||||
assert.match(trace, /aria-expanded="true"/);
|
||||
assert.ok(trace.includes("stuck at step two"), "the text is visible on arrival");
|
||||
assert.ok(trace.includes("bg-card"), "the card-color band");
|
||||
assert.ok(trace.includes("border-l-[calc(3ch-5px)]"), "the rail fills the 3ch inset");
|
||||
assert.ok(trace.includes("border-l-[calc(3ch-8px)]"), "thinner rail inside the 3ch inset");
|
||||
const legacy = renderToStaticMarkup(<ThinkingCard data={{ problemCallId: "c", commit: true, text: "It is 42." }} />);
|
||||
assert.match(legacy, /YOUR THINKING/);
|
||||
assert.doesNotMatch(legacy, /Your solution/);
|
||||
|
||||
Reference in New Issue
Block a user