mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-07 17:44:35 +08:00
style: fix Descriptions breaks Table width when (#25593)
inside of expandedRowRender close #25573
This commit is contained in:
parent
ad7a37b836
commit
b69d012da8
@ -5,6 +5,7 @@
|
|||||||
|
|
||||||
@table-prefix-cls: ~'@{ant-prefix}-table';
|
@table-prefix-cls: ~'@{ant-prefix}-table';
|
||||||
@dropdown-prefix-cls: ~'@{ant-prefix}-dropdown';
|
@dropdown-prefix-cls: ~'@{ant-prefix}-dropdown';
|
||||||
|
@descriptions-prefix-cls: ~'@{ant-prefix}-descriptions';
|
||||||
@table-header-icon-color: #bfbfbf;
|
@table-header-icon-color: #bfbfbf;
|
||||||
@table-header-icon-color-hover: darken(@table-header-icon-color, 10%);
|
@table-header-icon-color-hover: darken(@table-header-icon-color, 10%);
|
||||||
@table-header-sort-active-filter-bg: lighten(@table-header-sort-active-bg, 2%);
|
@table-header-sort-active-filter-bg: lighten(@table-header-sort-active-bg, 2%);
|
||||||
@ -483,6 +484,11 @@
|
|||||||
background: @table-expanded-row-bg;
|
background: @table-expanded-row-bg;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// https://github.com/ant-design/ant-design/issues/25573
|
||||||
|
.@{descriptions-prefix-cls}-view table {
|
||||||
|
width: auto;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// With fixed
|
// With fixed
|
||||||
|
Loading…
Reference in New Issue
Block a user