style: fix Descriptions breaks Table width when (#25593)

inside of expandedRowRender

close #25573
This commit is contained in:
偏右 2020-07-13 11:26:15 +08:00 committed by GitHub
parent ad7a37b836
commit b69d012da8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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