diff --git a/components/table/demo/fixed-columns-header.md b/components/table/demo/fixed-columns-header.md index 60c660b13e..83c5f39213 100644 --- a/components/table/demo/fixed-columns-header.md +++ b/components/table/demo/fixed-columns-header.md @@ -43,7 +43,7 @@ for (let i = 0; i < 100; i++) { } function App() { - return ; + return
; } ReactDOM.render(, mountNode); diff --git a/components/table/style/index.less b/components/table/style/index.less index 3dce34ad95..9d3d6c81bc 100644 --- a/components/table/style/index.less +++ b/components/table/style/index.less @@ -403,8 +403,7 @@ } &-fixed-header &-scroll &-header { - overflow-x: scroll; - overflow-y: hidden; + overflow: scroll; padding-bottom: 20px; margin-bottom: -20px; }