Browse Source
style(table): Modify borderRadius in filter dropdown (#42451)
Co-authored-by: lijianan <574980606@qq.com>
pull/42481/head
JiaQi
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
1 deletions
-
components/table/style/filter.ts
|
|
@ -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', |
|
|
|