diff --git a/components/table/style/index.less b/components/table/style/index.less index c572b131ec..b43c53c0b0 100644 --- a/components/table/style/index.less +++ b/components/table/style/index.less @@ -393,11 +393,22 @@ height: 100%; } - &-fixed-header &-body-inner, - &-fixed-header &-header { + &-fixed-header &-body { + position: relative; + background: #fff; + } + + &-fixed-header &-body-inner { overflow-y: scroll; } + &-fixed-header &-header { + overflow-x: scroll; + overflow-y: hidden; + padding-bottom: 20px; + margin-bottom: -20px; + } + &-fixed-left, &-fixed-right { position: absolute; diff --git a/package.json b/package.json index 2c38ca439a..731618ffac 100644 --- a/package.json +++ b/package.json @@ -60,7 +60,7 @@ "rc-slider": "~3.7.0", "rc-steps": "~2.1.3", "rc-switch": "~1.4.2", - "rc-table": "~4.1.4", + "rc-table": "~4.2.0", "rc-tabs": "~5.9.1", "rc-time-picker": "~1.1.4", "rc-tooltip": "~3.3.2",