Skip to content

Commit 1e90e1f

Browse files
authored
fix(Table): fix when table hideExpandIcon. width is not wrong
close #71
1 parent 8735a3b commit 1e90e1f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/components/Table/__tests__/__snapshots__/demo.test.js.snap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29925,6 +29925,7 @@ exports[`Table demo -- hideExpandIcon 1`] = `
2992529925

2992629926
.c0 .uc-fe-table-row-expand-icon-cell,
2992729927
.c0 .uc-fe-table-expand-icon-th,
29928+
.c0 .uc-fe-table-expand-icon-col,
2992829929
.c0 .uc-fe-table-expanded-row > td:first-child {
2992929930
display: none;
2993029931
}

src/components/Table/style/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ export const TableWrap = styled.div`
110110
css`
111111
&-row-expand-icon-cell,
112112
&-expand-icon-th,
113+
&-expand-icon-col,
113114
&-expanded-row > td:first-child {
114115
display: none;
115116
}

0 commit comments

Comments
 (0)