mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-06 16:06:28 +08:00
fix: Input should hide webkit cancel button (#40457)
This commit is contained in:
parent
550334ff92
commit
217d1a1e03
@ -317,7 +317,6 @@ export const genInputGroupStyle = (token: InputToken): CSSObject => {
|
|||||||
},
|
},
|
||||||
|
|
||||||
[`${componentCls}`]: {
|
[`${componentCls}`]: {
|
||||||
float: 'inline-start',
|
|
||||||
width: '100%',
|
width: '100%',
|
||||||
marginBottom: 0,
|
marginBottom: 0,
|
||||||
textAlign: 'inherit',
|
textAlign: 'inherit',
|
||||||
@ -528,6 +527,11 @@ const genInputStyle: GenerateStyle<InputToken> = (token: InputToken) => {
|
|||||||
paddingBottom: colorSmallPadding,
|
paddingBottom: colorSmallPadding,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':
|
||||||
|
{
|
||||||
|
'-webkit-appearance': 'none',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user