From c6e1d6febc833045a29a52191f80cf149901ac0c Mon Sep 17 00:00:00 2001 From: ddcat1115 Date: Mon, 10 Oct 2016 22:38:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DTable=20=E5=B8=A6=E8=BE=B9?= =?UTF-8?q?=E6=A1=86=E7=9B=B8=E5=85=B3=E7=9A=84=E6=A0=B7=E5=BC=8F=E9=97=AE?= =?UTF-8?q?=E9=A2=98=20(#3340)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit close #3301 --- components/table/style/index.less | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/components/table/style/index.less b/components/table/style/index.less index a15cc4d40..fd8e350a4 100644 --- a/components/table/style/index.less +++ b/components/table/style/index.less @@ -120,7 +120,6 @@ &-header { background: @table-head-background-color; overflow: hidden; - border-radius: @border-radius-base @border-radius-base 0 0; } &-header table { @@ -232,21 +231,28 @@ } &-bordered { - .@{table-prefix-cls}-body > table { + .@{table-prefix-cls}-header > table, + .@{table-prefix-cls}-body > table, + .@{table-prefix-cls}-fixed-left table, + .@{table-prefix-cls}-fixed-right table { border: 1px solid @border-color-split; } &.@{table-prefix-cls}-fixed-header { - border: 1px solid @border-color-split; - table { - border: 0; + .@{table-prefix-cls}-header > table { + border-bottom: 0; } - .@{table-prefix-cls}-fixed-left { - border-right: 1px solid @border-color-split; + + .@{table-prefix-cls}-body > table { + border-top: 0; + border-top-left-radius: 0; + border-top-right-radius: 0; } - .@{table-prefix-cls}-fixed-right { - border-left: 1px solid @border-color-split; + + .@{table-prefix-cls}-body-inner > table { + border-top: 0; } + .@{table-prefix-cls}-placeholder { border-bottom: 0; }