Skip to content

Commit

Permalink
Fix table radius in chrome
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 committed Mar 3, 2018
1 parent a2018e7 commit af8e54f
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions components/table/style/index.less
Expand Up @@ -33,6 +33,14 @@
font-weight: 500;
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] {
text-align: center;
border-bottom: 0;
Expand Down Expand Up @@ -539,6 +547,9 @@
table {
border-radius: @border-radius-base 0 0 0;
}
.ant-table-thead > tr > th:last-child {
border-top-right-radius: 0;
}
}

&-fixed-right {
Expand All @@ -554,6 +565,9 @@
color: transparent;
pointer-events: none;
}
.ant-table-thead > tr > th:first-child {
border-top-left-radius: 0;
}
}

&&-scroll-position-left &-fixed-left {
Expand Down

0 comments on commit af8e54f

Please sign in to comment.