From 8d3537d18615e7f8c4e34d56b3decf614bc0fc55 Mon Sep 17 00:00:00 2001 From: afc163 Date: Fri, 25 Mar 2016 16:00:32 +0800 Subject: [PATCH] fix chrome table border-radius, close #1271 --- style/components/table.less | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/style/components/table.less b/style/components/table.less index 42b933a947..9a17f1a8c6 100644 --- a/style/components/table.less +++ b/style/components/table.less @@ -7,6 +7,8 @@ .@{table-prefix-cls} { font-size: @font-size-base; color: @text-color; + border-radius: @border-radius-base @border-radius-base 0 0; + overflow: hidden; &-body { transition: opacity 0.3s ease; @@ -17,15 +19,12 @@ max-width: 100%; border-collapse: separate; text-align: left; - border-radius: @border-radius-base; - overflow: hidden; } th { background: @table-head-background-color; font-weight: bold; transition: background .3s ease; - position: relative; text-align: left; .anticon-filter { @@ -352,6 +351,9 @@ &-column-hidden { display: none; } + th&-column-has-prev { + position: relative; + } th&-column-has-prev, td&-column-has-prev { padding-left: 24px;