mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 11:08:45 +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}`]: {
|
||||
float: 'inline-start',
|
||||
width: '100%',
|
||||
marginBottom: 0,
|
||||
textAlign: 'inherit',
|
||||
@ -528,6 +527,11 @@ const genInputStyle: GenerateStyle<InputToken> = (token: InputToken) => {
|
||||
paddingBottom: colorSmallPadding,
|
||||
},
|
||||
},
|
||||
|
||||
'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':
|
||||
{
|
||||
'-webkit-appearance': 'none',
|
||||
},
|
||||
},
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user