diff --git a/components/table/demo/basic.md b/components/table/demo/basic.md index 8a6cf2f12e..6408343eff 100644 --- a/components/table/demo/basic.md +++ b/components/table/demo/basic.md @@ -58,6 +58,5 @@ const data = [{ address: '西湖区湖底公园1号' }]; -ReactDOM.render( -, mountNode); +ReactDOM.render(
, mountNode); ```` diff --git a/style/components/table.less b/style/components/table.less index f20a51c515..a810bb006f 100644 --- a/style/components/table.less +++ b/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 {