diff --git a/components/table/style/index.less b/components/table/style/index.less index a360c700bf..b002e9ef92 100644 --- a/components/table/style/index.less +++ b/components/table/style/index.less @@ -5,6 +5,7 @@ @table-prefix-cls: ~'@{ant-prefix}-table'; @dropdown-prefix-cls: ~'@{ant-prefix}-dropdown'; +@descriptions-prefix-cls: ~'@{ant-prefix}-descriptions'; @table-header-icon-color: #bfbfbf; @table-header-icon-color-hover: darken(@table-header-icon-color, 10%); @table-header-sort-active-filter-bg: lighten(@table-header-sort-active-bg, 2%); @@ -483,6 +484,11 @@ background: @table-expanded-row-bg; } } + + // https://github.com/ant-design/ant-design/issues/25573 + .@{descriptions-prefix-cls}-view table { + width: auto; + } } // With fixed