From af8e54f1d6ac2891892e39b153cbe3e998370f61 Mon Sep 17 00:00:00 2001 From: afc163 Date: Sat, 3 Mar 2018 16:42:31 +0800 Subject: [PATCH] Fix table radius in chrome --- components/table/style/index.less | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/components/table/style/index.less b/components/table/style/index.less index baf996590868..bee497bbee81 100644 --- a/components/table/style/index.less +++ b/components/table/style/index.less @@ -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; @@ -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 { @@ -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 {