fix: nested Table margin inside table with fixed columns (#30587)

close #30564
This commit is contained in:
afc163 2021-05-19 16:18:26 +08:00 committed by GitHub
parent cf342de7cf
commit 7e5a50573a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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