Fix table border when using cell merging (#3806)

This commit is contained in:
Wei Zhu 2016-11-11 17:57:27 +08:00 committed by 偏右
parent f703e00c0f
commit 7dc0328c60

View File

@ -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,