消息列表相邻元素补回 14px 间距:块级列表不生效 gap,导致消息与工具块贴在一起
Project CI / AI game creator shell Rust shard 1/4 (pull_request) Has been cancelled
Project CI / AI game creator shell Rust shard 2/4 (pull_request) Has been cancelled
Project CI / AI game creator shell Rust shard 3/4 (pull_request) Has been cancelled
Project CI / AI game creator shell Rust shard 4/4 (pull_request) Has been cancelled
Project CI / AI game creator shell Rust smoke (pull_request) Has been cancelled
Project CI / AI game creator shell Rust crates (pull_request) Has been cancelled
Project CI / Backend tests (pull_request) Has been cancelled
Project CI / Native shell tests (pull_request) Has been cancelled
Project CI / Frontend tests (pull_request) Has been cancelled
Project CI / Repository checks (pull_request) Has been cancelled
Project CI / AI game creator shell web tests (pull_request) Has been cancelled

This commit is contained in:
2026-09-15 20:02:45 +08:00
parent b665cf6691
commit 33a7205750
+11
View File
@@ -12016,3 +12016,14 @@ button.design-workspace-tree__entry:hover,
grid-column: 3;
grid-row: 1 / span 2;
}
/* 消息之间的间距消息列表是块级滚动容器不是 flex/grid基础规则里的 `gap: 14px`
对它无效而被改写成 `margin-top: 0` `.message + .message` 又让相邻消息贴在一起
这里给列表的相邻子元素统一加间距消息工具调用折叠块思考过程块都适用
间距值与消息内部的行距观感一致 */
.game-workbench-chat
.project-supervisor-surface.is-direct-codex
.project-supervisor-message-list
> * + * {
margin-top: 14px;
}