From 19842d2e52941328344de61520d37b0a6e3220b2 Mon Sep 17 00:00:00 2001 From: afc163 Date: Thu, 22 Dec 2022 10:27:45 +0800 Subject: [PATCH] style: fix Table header radius when has fixed columns close https://github.com/ant-design/ant-design/issues/39115#issuecomment-1362314574 --- components/table/style/bordered.tsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/components/table/style/bordered.tsx b/components/table/style/bordered.tsx index 42ad7668dcbe..a3b48706debf 100644 --- a/components/table/style/bordered.tsx +++ b/components/table/style/bordered.tsx @@ -96,6 +96,11 @@ const genBorderedStyle: GenerateStyle = (token) => { }, }, + // https://github.com/ant-design/ant-design/issues/39115#issuecomment-1362314574 + [`> ${componentCls}-header`]: { + borderRadius: `${token.borderRadius} ${token.borderRadius} 0 0`, + }, + [` > ${componentCls}-content, > ${componentCls}-header