style: fix Table header radius when has fixed columns (#39723)

close https://github.com/ant-design/ant-design/issues/39115#issuecomment-1362314574
This commit is contained in:
afc163 2022-12-22 16:51:09 +08:00 committed by GitHub
parent 0c6e87228d
commit 0e98cb572c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,7 +7,8 @@ const genRadiusStyle: GenerateStyle<TableToken, CSSObject> = (token) => {
return {
[`${componentCls}-wrapper`]: {
[componentCls]: {
[`${componentCls}-title`]: {
// https://github.com/ant-design/ant-design/issues/39115#issuecomment-1362314574
[`${componentCls}-title, ${componentCls}-header`]: {
borderRadius: `${tableRadius}px ${tableRadius}px 0 0`,
},