fix: when table filter, the border will be black (#39938)

This commit is contained in:
JarvisArt 2022-12-31 19:28:29 +08:00 committed by GitHub
parent 7b830c1c01
commit 06e0b35b6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -176,6 +176,7 @@ const genTableStyle: GenerateStyle<TableToken, CSSObject> = (token) => {
'> tr': {
'> td': {
borderTop: tableBorder,
borderBottom: 'transparent',
},
'&:last-child > td': {
@ -185,6 +186,7 @@ const genTableStyle: GenerateStyle<TableToken, CSSObject> = (token) => {
[`&:first-child > td,
&${componentCls}-measure-row + tr > td`]: {
borderTop: 'none',
borderTopColor: 'transparent',
},
},
},