diff --git a/components/input/style/index.ts b/components/input/style/index.ts index db94fc3557..f85eb51061 100644 --- a/components/input/style/index.ts +++ b/components/input/style/index.ts @@ -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 = (token: InputToken) => { paddingBottom: colorSmallPadding, }, }, + + '&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration': + { + '-webkit-appearance': 'none', + }, }, }; };