fix(chat): keep latest-turn actions under the reply (BUG-1042)

The BUG-930 pin spacer sat on the last assistant row, pushing its sibling
.message-actions (and follow-ups / delivery card) below half a screen of
empty space. Move the same min-height onto the last turn's entry
(`:last-child:has(.message-assistant)`) with align-content: start so the
rectification grid wrap does not stretch its rows. Hook logic unchanged.

Records BUG-1043 / BUG-1044 (pre-existing, investigating) found during
browser verification.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017eEAG8HD3mm8gsKXgk8uU8
This commit is contained in:
Jesse_Chen
2026-09-26 10:19:00 +08:00
co-authored by Claude Opus 5.5
parent ac224cef6a
commit 83cce7ad6a
13 changed files with 189 additions and 7 deletions
@@ -0,0 +1,11 @@
# 回答与操作按钮间距 · 真机清单(2026-09-26)
本轮在本地 `next start` + 无头 Chrome 里用虚构接口数据验证并截图(`latest-turn-actions-gap-20260926/`,375 宽改动前后各一张),没有登录态真机。部署到 staging 后请用自己的账户在 iPhone Safari 上照做:
1. 打开一个已有几轮内容的普通对话,问一个很短就能答完的问题(比如「谢谢」之后再问「今天适合出门吗」)。回答结束后:点赞 / 踩 / 复制 / 重试一排**紧贴在回答最后一行下面**,中间没有大片空白;你刚问的那句话停在屏幕顶部附近。
2. 同一个对话里有「可以继续问」的建议按钮时:它们也紧跟在点赞一排下面,空白在它们之后。
3. 打开一个生时校正会话,打一句简短的经历发出去。助手回复结束后同样:操作按钮紧贴回复,空白在按钮下面。
4. 问一个会得到长回答的问题:回答超过一屏时底部出现「跳到最新」,点一下滚到最后,点赞一排在最后一段下面。
5. 以上在横屏或桌面浏览器(宽屏)各看一次,表现一致。
已知、与本轮无关(已记为 BUG-1043 / BUG-1044,未修):刷新后直接回到普通对话再发问,短回答下也可能出现「跳到最新」;生时校正里长回答可能直接滚到最后一个字,而不是停在开头。看到这两种情况请记下,不算本轮不通过。
Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB