fix: wrong style of Select in Input addon (#44825)

This commit is contained in:
MadCcc 2023-09-13 17:19:21 +08:00 committed by GitHub
parent 58f7221b93
commit 5cf2a5d1d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -329,13 +329,14 @@ export const genInputGroupStyle = (token: InputToken): CSSObject => {
[`${antCls}-select`]: {
margin: `-${token.paddingBlock + 1}px -${token.paddingInline}px`,
[`&${antCls}-select-single:not(${antCls}-select-customize-input)`]: {
[`${antCls}-select-selector`]: {
backgroundColor: 'inherit',
border: `${token.lineWidth}px ${token.lineType} transparent`,
boxShadow: 'none',
[`&${antCls}-select-single:not(${antCls}-select-customize-input):not(${antCls}-pagination-size-changer)`]:
{
[`${antCls}-select-selector`]: {
backgroundColor: 'inherit',
border: `${token.lineWidth}px ${token.lineType} transparent`,
boxShadow: 'none',
},
},
},
'&-open, &-focused': {
[`${antCls}-select-selector`]: {