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
parent
commit
dc2add0fea
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      components/table/style/filter.ts

4
components/table/style/filter.ts

@ -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',

Loading…
Cancel
Save