diff --git a/components/table/style/index.less b/components/table/style/index.less index be205b706b..de200a04d1 100644 --- a/components/table/style/index.less +++ b/components/table/style/index.less @@ -627,6 +627,12 @@ margin-bottom: -20px; } + // Ignore the scroll.x width + // https://github.com/ant-design/ant-design/issues/7142 + &-empty &-scroll &-body &-fixed { + width: auto !important; + } + &-fixed-left, &-fixed-right { position: absolute;