style(table): Modify borderRadius in filter dropdown (#42451)

Co-authored-by: lijianan <574980606@qq.com>
This commit is contained in:
JiaQi 2023-05-18 19:42:11 +08:00 committed by GitHub
parent 9caba0919b
commit dc2add0fea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
import { resetComponent } from '../../style';
import type { GenerateStyle } from '../../theme/internal';
import type { TableToken } from './index';
import { resetComponent } from '../../style';
const genFilterStyle: GenerateStyle<TableToken> = (token) => {
const {
@ -77,6 +77,7 @@ const genFilterStyle: GenerateStyle<TableToken> = (token) => {
backgroundColor: tableFilterDropdownBg,
borderRadius,
boxShadow: boxShadowSecondary,
overflow: 'hidden',
// Reset menu
[`${dropdownPrefixCls}-menu`]: {
@ -86,6 +87,7 @@ const genFilterStyle: GenerateStyle<TableToken> = (token) => {
overflowX: 'hidden',
border: 0,
boxShadow: 'none',
borderRadius: 'unset',
'&:empty::after': {
display: 'block',