mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-28 05:05:48 +08:00
fix: nested Table margin inside table with fixed columns (#30587)
close #30564
This commit is contained in:
parent
cf342de7cf
commit
7e5a50573a
@ -107,7 +107,8 @@
|
|||||||
transition: background 0.3s;
|
transition: background 0.3s;
|
||||||
|
|
||||||
// ========================= Nest Table ===========================
|
// ========================= Nest Table ===========================
|
||||||
> .@{table-prefix-cls}-wrapper:only-child {
|
> .@{table-prefix-cls}-wrapper:only-child,
|
||||||
|
> .@{table-prefix-cls}-expanded-row-fixed > .@{table-prefix-cls}-wrapper:only-child {
|
||||||
.@{table-prefix-cls} {
|
.@{table-prefix-cls} {
|
||||||
margin: -@table-padding-vertical -@table-padding-horizontal -@table-padding-vertical (@table-padding-horizontal +
|
margin: -@table-padding-vertical -@table-padding-horizontal -@table-padding-vertical (@table-padding-horizontal +
|
||||||
ceil(@font-size-sm * 1.4));
|
ceil(@font-size-sm * 1.4));
|
||||||
|
Loading…
Reference in New Issue
Block a user