Skip to content

Commit

Permalink
fix(Table): style of Table.Column should only work for thead,close #1423
Browse files Browse the repository at this point in the history
  • Loading branch information
youluna committed Dec 11, 2019
1 parent 9424063 commit 2a90c42
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/table/base/row.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ export default class Row extends React.Component {
alignHeader,
width,
colSpan,
style,
...others
} = child;
// colSpan should show in body td by the way of <Table.Column colSpan={2} />
Expand Down
3 changes: 3 additions & 0 deletions src/table/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,9 @@
display: inline-block;
vertical-align: middle;
line-height: 1;
&:focus {
outline: 0;
}
.#{$css-prefix}icon {
position: absolute;
left: 0;
Expand Down

0 comments on commit 2a90c42

Please sign in to comment.