Skip to content

refactor: 优化设置项布局#713

Merged
keleus merged 1 commit into
keleus:mainfrom
Victor-Quqi:refactor/settings-item-layout
May 25, 2026
Merged

refactor: 优化设置项布局#713
keleus merged 1 commit into
keleus:mainfrom
Victor-Quqi:refactor/settings-item-layout

Conversation

@Victor-Quqi

Copy link
Copy Markdown
Contributor

这个 PR 主要优化了设置项的左右布局,避免右侧固定宽度过早挤压左侧标题和说明文案。

主要调整:

  • 设置项右侧不再默认固定占用 $\frac{2}{7}$ 宽度,右侧控件按内容宽度靠右显示
  • 统一设置页普通下拉框宽度,避免同类控件宽度不一致
  • 将较长的下拉选项说明移到左侧描述中,保留下拉框内的短选项文本
  • 调整顶栏设置页部分列表间距,避免分隔线上下间距不一致
  • 为设置页滚动区域预留滚动条空间,避免展开配置项时内容宽度跳动
调整前 调整后
屏幕截图 2026-05-25 051254 屏幕截图 2026-05-25 051307
屏幕截图 2026-05-25 051337 屏幕截图 2026-05-25 051348

已通过 pnpm lintpnpm typecheckpnpm buildpnpm build-firefoxpnpm build-safari

@keleus keleus merged commit f9b21d8 into keleus:main May 25, 2026
1 check passed
@Victor-Quqi Victor-Quqi deleted the refactor/settings-item-layout branch May 25, 2026 04:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants