DeepSeek-Reasonix icon indicating copy to clipboard operation
DeepSeek-Reasonix copied to clipboard

fix(creation): Windows 标题条压至 40px 并对齐控件

Open Li-Charles-One opened this issue 4 months ago • 0 comments

改动内容

Creation 在 Windows 下的标题条高度与对齐:

  1. 窗口控件高度:56px → 40px,与 topicbar / 右侧 dock tools 对齐
  2. Creation topicbar:min-height 56 → 40,去掉多余上下偏移
  3. 工具图标与 Windows 控件中线对齐(约 translateY(0.5px))
  4. 文件夹(ExternalOpener)单独上移约 1.5px,避免比线图标偏低
  5. Logo 中线微调到 40px 标题条

全部限定 .app--windows / .app--creation / .app--windows-frameless.app--creation,不影响 classic / workbench 与其他平台。

涉及文件

  • desktop/frontend/src/styles.css
  • desktop/frontend/src/__tests__/app-chrome-tabs.test.ts

验证

  • [x] pnpm --dir desktop/frontend exec tsx src/__tests__/app-chrome-tabs.test.ts(120 passed)
  • [x] pnpm --dir desktop/frontend typecheck
  • [x] 本地 wails dev 视觉复核

Li-Charles-One avatar Aug 03 '26 11:08 Li-Charles-One