fix(rectification): align the natal house table with agent text
Independent Staging Quality Gate / validate (push) Successful in 9m57s
Independent Staging Quality Gate / publish (push) Successful in 10m55s

The house table sat on the avatar edge because it is a sibling of the message row. Inset it with the avatar width plus assistant gap.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Jesse_Chen
2026-08-19 21:46:37 +08:00
co-authored by Cursor
parent d7887b03e5
commit 053e63effa
3 changed files with 36 additions and 2 deletions
@@ -316,6 +316,10 @@ test("candidate state renders from the snapshot API and never from sentinels", (
assert.match(chat, /正在采用…/);
assert.match(chat, /RectificationHouseTableView/);
assert.match(styles, /\.rectification-house-table \{/);
assert.match(styles, /--assistant-content-inset:\s*calc\(32px \+ var\(--space-3\)\)/);
assert.match(styles, /\.rectification-house-table \{[^}]*padding-inline-start:\s*var\(--assistant-content-inset\)/);
assert.match(styles, /\.agent-avatar \{[^}]*width:\s*32px/);
assert.match(styles, /\.message-assistant \{[^}]*gap:\s*var\(--space-3\)/);
});