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