diff --git a/components/table/style/size.less b/components/table/style/size.less index de22c71cd2..4c198f114c 100644 --- a/components/table/style/size.less +++ b/components/table/style/size.less @@ -32,6 +32,16 @@ .@{table-prefix-cls}-expanded-row-fixed { margin: -@padding-vertical -@padding-horizontal; } + + .@{table-prefix-cls}-tbody { + // ========================= Nest Table =========================== + .@{table-prefix-cls}-wrapper:only-child { + .@{table-prefix-cls} { + margin: -@padding-vertical -@padding-horizontal -@padding-vertical (@padding-horizontal + + ceil(@font-size-sm * 1.4)); + } + } + } } }