From 0d84ed15349a9a9ab45598b9b3cdf43e850997b3 Mon Sep 17 00:00:00 2001 From: Jerik Chan Date: Thu, 30 Apr 2020 10:52:53 +0800 Subject: [PATCH] fix: table-prefix-cls is not work in class 'ant-table-thead' (#2166) --- components/table/style/index.less | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/table/style/index.less b/components/table/style/index.less index 1aea8a07e..4051138ef 100644 --- a/components/table/style/index.less +++ b/components/table/style/index.less @@ -722,7 +722,7 @@ table { border-radius: @table-border-radius-base 0 0 0; } - .ant-table-thead > tr > th:last-child { + .@{table-prefix-cls}-thead > tr > th:last-child { border-top-right-radius: 0; } } @@ -740,7 +740,7 @@ color: transparent; pointer-events: none; } - .ant-table-thead > tr > th:first-child { + .@{table-prefix-cls}-thead > tr > th:first-child { border-top-left-radius: 0; } }