Fix table radius in chrome

This commit is contained in:
afc163 2018-03-03 16:42:31 +08:00
parent a2018e7c44
commit af8e54f1d6

View File

@ -33,6 +33,14 @@
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;
&:first-child {
border-top-left-radius: @border-radius-base;
}
&:last-child {
border-top-right-radius: @border-radius-base;
}
&[colspan] { &[colspan] {
text-align: center; text-align: center;
border-bottom: 0; border-bottom: 0;
@ -539,6 +547,9 @@
table { table {
border-radius: @border-radius-base 0 0 0; border-radius: @border-radius-base 0 0 0;
} }
.ant-table-thead > tr > th:last-child {
border-top-right-radius: 0;
}
} }
&-fixed-right { &-fixed-right {
@ -554,6 +565,9 @@
color: transparent; color: transparent;
pointer-events: none; pointer-events: none;
} }
.ant-table-thead > tr > th:first-child {
border-top-left-radius: 0;
}
} }
&&-scroll-position-left &-fixed-left { &&-scroll-position-left &-fixed-left {