fix(desktop): 修复右侧文件/Git栏分割线缝隙 (#3443)#3566
Merged
esengine merged 1 commit intoJun 8, 2026
Merged
Conversation
…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.
esengine
approved these changes
Jun 8, 2026
esengine
left a comment
Owner
There was a problem hiding this comment.
Verified check:css; centering the resizer line removes the gap. Clean.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
问题
右侧「文件与 Git」栏和对话窗口之间的分割线与侧边栏之间存在明显缝隙。
根因
workspace-panel-resizer的::after线定位在left: 0(最左边),但 resizer 本身有 8px 宽,导致右边 7px 是空白区域,视觉上形成"缝隙"。对比
sidebar-resizer的线在left: 50%; transform: translateX(-50%)(居中),所以没有缝隙感。修复
将
workspace-panel-resizer::after的线居中显示:测试
npm run typecheck通过npm run check:css通过Fixes #3443