Skip to content

armgit / Wake

Public Imported from GitHub
0

All your AI agent sessions in one place — browse, search, resume. Rust + GPUI.

Rust

Align detail actions with metadata

Corey Chiu6a7e0cfd893e
diff --git a/crates/wake/src/workbench.rs b/crates/wake/src/workbench.rs
index 8f10809..0ed04e5 100644
--- a/crates/wake/src/workbench.rs
+++ b/crates/wake/src/workbench.rs
@@ -2995,9 +2995,9 @@ impl Workbench {
.child(
h_flex()
.absolute()
- // 当前元素属于标题行,负偏移到上一层来源行;来源行右侧
- // 已预留 156px,因此不会遮住 Agent / 项目 / 分支。
- .top(-px(27.))
+ // 当前元素属于标题行,回移到上一层来源行。先按几何
+ // 中心线对齐,再向上补 3px,抵消按钮描边带来的视觉下沉。
+ .top(-px(36.5))
.right(SPACE_XXL)
.flex_shrink_0()
.gap(SPACE_XS)