fix(rectification): align the natal house table with agent text
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:
@@ -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\)/);
|
||||
});
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user