mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-07 17:44:35 +08:00
Fix table border when using cell merging (#3806)
This commit is contained in:
parent
f703e00c0f
commit
7dc0328c60
@ -238,6 +238,8 @@
|
||||
.@{table-prefix-cls}-fixed-left table,
|
||||
.@{table-prefix-cls}-fixed-right table {
|
||||
border: 1px solid @border-color-split;
|
||||
border-right: 0;
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
&.@{table-prefix-cls}-fixed-header {
|
||||
@ -268,23 +270,10 @@
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
.@{table-prefix-cls}-tbody tr:last-child {
|
||||
> th,
|
||||
> td {
|
||||
border-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.@{table-prefix-cls}-thead > tr > th,
|
||||
.@{table-prefix-cls}-tbody > tr > td {
|
||||
border-right: 1px solid @border-color-split;
|
||||
}
|
||||
.@{table-prefix-cls}-thead > tr:first-child > th,
|
||||
.@{table-prefix-cls}-tbody > tr > td {
|
||||
&:last-child {
|
||||
border-right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
&.@{table-prefix-cls}-small {
|
||||
.@{table-prefix-cls}-header > table,
|
||||
|
Loading…
Reference in New Issue
Block a user