mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 22:36:31 +08:00
fix: wrong style of Select in Input addon (#44825)
This commit is contained in:
parent
58f7221b93
commit
5cf2a5d1d0
@ -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`]: {
|
||||
|
Loading…
Reference in New Issue
Block a user