Skip to content

fix(desktop): 修复右侧文件/Git栏分割线缝隙 (#3443)#3566

Merged
esengine merged 1 commit into
esengine:main-v2from
Li-Charles-One:fix/3443-workspace-splitter-gap
Jun 8, 2026
Merged

fix(desktop): 修复右侧文件/Git栏分割线缝隙 (#3443)#3566
esengine merged 1 commit into
esengine:main-v2from
Li-Charles-One:fix/3443-workspace-splitter-gap

Conversation

@Li-Charles-One

Copy link
Copy Markdown
Contributor

问题

右侧「文件与 Git」栏和对话窗口之间的分割线与侧边栏之间存在明显缝隙。

根因

workspace-panel-resizer::after 线定位在 left: 0(最左边),但 resizer 本身有 8px 宽,导致右边 7px 是空白区域,视觉上形成"缝隙"。

对比 sidebar-resizer 的线在 left: 50%; transform: translateX(-50%)(居中),所以没有缝隙感。

修复

workspace-panel-resizer::after 的线居中显示:

left: 50%;
transform: translateX(-50%);

测试

  • npm run typecheck 通过
  • npm run check:css 通过

Fixes #3443

…3443)

The workspace-panel-resizer ::after line was positioned at left: 0,
leaving 7px of empty space on the right side of the 8px resizer area.
This created a visible gap between the resizer line and the workbench dock.

Move the line to left: 50% with translateX(-50%) to center it within
the resizer, matching the sidebar-resizer behavior.
@github-actions github-actions Bot added desktop Wails desktop app (desktop/**) v2 Go rewrite (1.x) — main-v2 branch, active development labels Jun 8, 2026

@esengine esengine left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified check:css; centering the resizer line removes the gap. Clean.

@esengine esengine merged commit a63feca into esengine:main-v2 Jun 8, 2026
10 checks passed
@Li-Charles-One Li-Charles-One deleted the fix/3443-workspace-splitter-gap branch June 8, 2026 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

desktop Wails desktop app (desktop/**) v2 Go rewrite (1.x) — main-v2 branch, active development

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: 右侧文件/Git 栏分割线存在明显缝隙

2 participants