Browse Source

Fix table footer style

pull/1265/head
afc163 9 years ago
parent
commit
61f9ba1fd7
  1. 3
      components/table/demo/basic.md
  2. 12
      style/components/table.less

3
components/table/demo/basic.md

@ -58,6 +58,5 @@ const data = [{
address: '西湖区湖底公园1号'
}];
ReactDOM.render(<Table columns={columns} dataSource={data} />
, mountNode);
ReactDOM.render(<Table columns={columns} dataSource={data} />, mountNode);
````

12
style/components/table.less

@ -57,17 +57,13 @@
background: none;
}
tfoot tr {
&-footer {
padding: 16px 8px;
margin: 0 3px;
background: @table-head-background-color;
position: relative;
top: -1px;
&:hover {
background: @table-head-background-color;
}
td {
border-radius: 0 0 @border-radius-base @border-radius-base;
border: 0;
}
border-radius: 0 0 @border-radius-base @border-radius-base;
}
tr.@{table-prefix-cls}-row-selected {

Loading…
Cancel
Save