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:
@@ -4649,4 +4649,20 @@
|
||||
- 防复发:创建会话 schema 必须保留 `id`;出生资料 `select` 不得用 `.join(",")` 得到非字面量字符串。staging push 的 validate 不跑 `next build`,类型回归只在 publish Docker 暴露。
|
||||
- 相关记录:BUG-261、BUG-308
|
||||
- 复发自:无
|
||||
- 修复版本:`d7887b03`
|
||||
|
||||
## BUG-310 | 生时纠正宫位表贴着头像左缘,没有和 Agent 正文对齐
|
||||
|
||||
- 状态:resolved
|
||||
- 首次发现:2026-08-19
|
||||
- 最近更新:2026-08-19
|
||||
- 影响面:生时纠正对话里的 `RectificationHouseTableView`、候选时间卡、已采用时间说明
|
||||
- 用户现象:Agent 正文和赞踩操作栏缩在头像右侧,本命宫位标题和表格贴着对话左缘,和头像齐平。
|
||||
- 触发条件:校正对话出现本命宫位表。
|
||||
- 根因:宫位表是 `.message-list` 里消息行的兄弟节点,不走 `.message-assistant` 的头像 + `gap` 列,也没有补上同一条起始线。
|
||||
- 修复:`.message-list` 定义 `--assistant-content-inset: calc(32px + var(--space-3))`,宫位表用 `padding-inline-start`,候选卡和已采用说明用同一 inset 的 `margin-inline-start`。
|
||||
- 验证:`frontend/tests/rectification-agentic-entry.test.ts` 锁定 inset 等于头像宽加 assistant gap。
|
||||
- 防复发:宫位表和后续结果块不得再与头像左缘齐平;起始线必须来自头像尺寸加 `.message-assistant` 的 gap,不能另写一个魔法像素。
|
||||
- 相关记录:BUG-307
|
||||
- 复发自:BUG-307(表作为消息兄弟落地,未接入 assistant 列)
|
||||
- 修复版本:待提交
|
||||
|
||||
Reference in New Issue
Block a user