Skip to content

fix: 优化手机端目录布局并加宽文件名列 - #3

Merged
cimorn merged 1 commit into
mainfrom
fix/issue-2-mobile-layout
Oct 24, 2026
Merged

cimorn merged 1 commit into
mainfrom
fix/issue-2-mobile-layout

Conversation

@cimorn

@cimorn cimorn commented Oct 24, 2026

Copy link
Copy Markdown
Owner

目录表格原先按三列或四列均分,长文件名容易被时间、说明和操作列挤压;手机端的单元格又被后置的 58px 固定行高覆盖,导致卡片留白过多。

  • 名称列优先分配空间,时间列保持 160px、操作列保持 88px;有备份说明时名称列占 52%。
  • 手机端名称独占整行,移除固定行高,并缩小图标与文字之间的间距。
  • 目录搜索、批量选择和编辑菜单保持可用。

验证:148 项前端测试通过,TypeScript 检查与生产构建通过。浏览器检查了 320、390、768、1024、1440px:无横向溢出,手机时间行由 58px 降至 32px;无备注时名称列可用宽度为 926px,时间列为 160px。控制台无相关错误。

Fixes #2

@cimorn
cimorn merged commit 58ada88 into main Oct 24, 2026
2 checks passed
@cimorn
cimorn deleted the fix/issue-2-mobile-layout branch October 24, 2026 09:22
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.

优化手机端视图,加宽文件名列宽度

1 participant