From 39c3de513778fd0af6385778efc20c5e30cac1ce Mon Sep 17 00:00:00 2001 From: Maksim Sviridov Date: Wed, 11 Oct 2023 17:14:25 +0300 Subject: [PATCH] fix(FilterAutoCompleteInput): correct align icon --- .../FilterAutoCompleteInput.tsx | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/components/FilterAutoCompleteInput/FilterAutoCompleteInput.tsx b/src/components/FilterAutoCompleteInput/FilterAutoCompleteInput.tsx index 56b72a018..caf90f945 100644 --- a/src/components/FilterAutoCompleteInput/FilterAutoCompleteInput.tsx +++ b/src/components/FilterAutoCompleteInput/FilterAutoCompleteInput.tsx @@ -10,10 +10,6 @@ const StyledInputWrapper = styled.div` margin-bottom: ${gapS}; `; -const StyledAutoCompleteInput = styled(AutoCompleteInput)` - display: inline-block; -`; - interface FilterAutoCompleteInputProps extends React.ComponentProps { placeholder?: never; iconLeft?: never; @@ -22,11 +18,7 @@ interface FilterAutoCompleteInputProps extends React.ComponentProps = (props) => { return ( - } - {...props} - /> + } {...props} /> ); };