dy-dashboard/vault/知识库/工作指南/训练记录/2026-07-28-三类订单货品名称垂直居中.md
2026-10-28 11:14:17 +08:00

20 lines
999 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 三类订单货品名称垂直居中
### 1. 三类订单货品名称垂直居中
**旭东 → OpenClaw:**
> 国内订单管理、海外订单管理、包材订单管理三个菜单里面,货品名称列的内容应该是整体居中显示的,但是目前是偏上显示,优化以下
**OpenClaw 响应:**
已将国内订单、海外订单、包材订单三个菜单的货品名称内容统一调整为垂直居中显示:
- 名称裁切层由普通块级布局改为 flex 布局。
- 使用 `align-items:center` 按单元格完整高度垂直居中。
- 去掉上下固定内边距,保留左右16px间距,不影响现有省略号和列宽裁切。
已使用Firefox按64px行高实际测量,文字中心与单元格中心只相差0.5px,垂直居中验证通过。测试服务已重启,`active/running`、4个Worker、`NRestarts=0`,新版CSS HTTP 200且内容一致,启动日志无错误。
Git提交:`71a7abb 优化: 三类订单货品名称垂直居中`
已记录