mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-28 13:09:40 +08:00
style(table): Modify borderRadius in filter dropdown (#42451)
Co-authored-by: lijianan <574980606@qq.com>
This commit is contained in:
parent
9caba0919b
commit
dc2add0fea
@ -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…
Reference in New Issue
Block a user