Browse Source

adjust nest table logic (#22868)

pull/22869/head
二货机器人 5 years ago
committed by GitHub
parent
commit
14cd2dc434
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 24
      components/table/style/index.less

24
components/table/style/index.less

@ -124,20 +124,22 @@
}
// ========================= Nest Table ===========================
.@{table-prefix-cls} {
margin: -@table-padding-vertical -@table-padding-horizontal -@table-padding-vertical (@table-padding-horizontal +
ceil(@font-size-sm * 1.4));
.@{table-prefix-cls}-wrapper:only-child {
.@{table-prefix-cls} {
margin: -@table-padding-vertical -@table-padding-horizontal -@table-padding-vertical (@table-padding-horizontal +
ceil(@font-size-sm * 1.4));
td {
background: transparent;
}
td {
background: transparent;
}
&-tbody > tr:last-child > td {
border-bottom: 0;
&-tbody > tr:last-child > td {
border-bottom: 0;
&:first-child,
&:last-child {
border-radius: 0;
&:first-child,
&:last-child {
border-radius: 0;
}
}
}
}

Loading…
Cancel
Save