Browse Source

style: fix table size nest table margin (#23602)

pull/23606/head
Tom Xu 5 years ago
committed by GitHub
parent
commit
60f3e775d0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      components/table/style/size.less

10
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));
}
}
}
}
}

Loading…
Cancel
Save