Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

[UI Bug][macOS] Sidebar toggle is vertically misaligned with window controls

未关闭 适合新手
#125 1 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
70/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
macos
领域
design, desktop

调研方向

首先定位侧边栏切换按钮及其容器的桌面标题栏实现,然后在左侧边栏展开的 macOS 上复现该问题。检查切换按钮相对于 macOS 窗口控件的垂直内边距或偏移量。完成的标准是视觉中心对齐,同时图标大小和水平间距保持不变。

由索引模型根据 Issue 内容生成。

描述

bug
GUI version

0.1.41

Operating system

macOS (Apple silicon)

Reproduction steps
  1. Open Command Code Desktop on macOS.
  2. Expand the left sidebar.
  3. Compare the vertical position of the sidebar toggle icon with the three window controls next to it.

Environment: macOS 27.0 (build 26A428), Apple silicon (arm64).

Expected behavior

The sidebar toggle icon and the window controls should appear vertically centered along the same horizontal line.

Please preserve the existing icon size and horizontal spacing; this feedback concerns only the vertical alignment.

Suggested adjustment: Please check the vertical positioning of the sidebar toggle’s container and icon, including any top padding or offset. Align its visual center with the center of the macOS window controls.

Actual behavior

The sidebar toggle button in the top-left corner appears slightly higher than the macOS window controls (close, minimize, and maximize).

The toggle icon appears aligned with the top edges of the window controls rather than their vertical centers. This makes the title bar controls look visually uneven.

The sidebar toggle icon sits slightly above the horizontal centerline of the window controls, as shown in the attached screenshot.

Impact: This is a visual alignment issue. It makes the title bar appear less consistent and polished; no functional problem is being reported.

Screenshots, recordings, or sanitized logs

The red rectangle highlights the affected controls.

Image
Safety check
  • I removed credentials and private project information from this report.
主要语言
Shell
星标
85
派生
5
平均合并
2 小时 46 分钟
30 天内合并 PR
1

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

CommandCodeAI/desktop 的其他 Issue

查看 CommandCodeAI/desktop 的全部 Issue

相似的 Issue

更多 Shell/Bash Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。