Fix table merged header cell border

Fix #10359
This commit is contained in:
Wei Zhu 2018-05-04 14:29:27 +08:00
parent 013df45a70
commit f1e38a1573

View File

@ -33,11 +33,6 @@
font-weight: 500; font-weight: 500;
border-bottom: @border-width-base @border-style-base @border-color-split; border-bottom: @border-width-base @border-style-base @border-color-split;
&[colspan] {
text-align: center;
border-bottom: 0;
}
.@{iconfont-css-prefix}-filter, .@{iconfont-css-prefix}-filter,
.@{table-prefix-cls}-filter-icon { .@{table-prefix-cls}-filter-icon {
position: relative; position: relative;
@ -79,6 +74,13 @@
} }
} }
&-thead > tr:not(:last-child) > th {
&[colspan] {
text-align: center;
border-bottom: 0;
}
}
&-tbody > tr > td { &-tbody > tr > td {
border-bottom: @border-width-base @border-style-base @border-color-split; border-bottom: @border-width-base @border-style-base @border-color-split;
transition: all .3s; transition: all .3s;
@ -321,7 +323,7 @@
} }
} }
.@{table-prefix-cls}-thead > tr > th { .@{table-prefix-cls}-thead > tr:not(:last-child) > th {
border-bottom: @border-width-base @border-style-base @border-color-split; border-bottom: @border-width-base @border-style-base @border-color-split;
} }