mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-07 17:44:35 +08:00
adjust nest table logic (#22868)
This commit is contained in:
parent
b28b2007be
commit
14cd2dc434
@ -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…
Reference in New Issue
Block a user