Commit 1e61da644f65a79ce10fde98ee017aba7d36be10

Authored by 无木
1 parent 9228282a

fix(table): fix tree node align

修复树形表格的带有展开图标的单元格的内容对齐问题

fixed: #829
CHANGELOG.zh_CN.md
1 1 ### 🐛 Bug Fixes
2 2  
3   -- **Table** 修复滚动条样式问题
  3 +- **Table**
  4 + - 修复滚动条样式问题
  5 + - 修复树形表格的带有展开图标的单元格的内容对齐问题
4 6 - **AppSearch** 修复可能会搜索隐藏菜单的问题
5 7 - **其它** 修复菜单默认折叠的配置不起作用的问题
6 8  
... ...
src/components/Table/src/components/ExpandIcon.tsx
... ... @@ -3,11 +3,11 @@ import { BasicArrow } from '/@/components/Basic';
3 3 export default () => {
4 4 return (props: Recordable) => {
5 5 if (!props.expandable) {
6   - return <span />;
  6 + return <span class="ant-table-row-expand-icon ant-table-row-spaced" />;
7 7 }
8 8 return (
9 9 <BasicArrow
10   - class="mr-1"
  10 + style="margin-right: 8px"
11 11 iconStyle="margin-top: -2px;"
12 12 onClick={(e: Event) => {
13 13 props.onExpand(props.record, e);
... ...