💄 optimize bordered table header scrollbar style

continue after #17065
This commit is contained in:
afc163 2019-06-12 19:39:28 +08:00
parent 1f6b86f37a
commit 6d2ad5c324
No known key found for this signature in database
GPG Key ID: 5F00908D72002306

View File

@ -604,11 +604,6 @@
}
}
&-bordered&-fixed-header &-scroll &-header::-webkit-scrollbar {
border: 1px solid @border-color-split;
border-width: 1px 1px 0 0;
}
&-hide-scrollbar {
// https://github.com/ant-design/ant-design/issues/4637
// https://stackoverflow.com/a/54101063
@ -619,6 +614,17 @@
}
}
// optimize header style of borderd table after hide extra scrollbar
&-bordered&-fixed-header &-scroll &-header {
&::-webkit-scrollbar {
border: 1px solid @border-color-split;
border-width: 1px 1px 1px 0;
}
&.@{table-prefix-cls}-hide-scrollbar .@{table-prefix-cls}-thead > tr > th:last-child {
border-right-color: transparent;
}
}
&-fixed-left,
&-fixed-right {
position: absolute;