Skip to content

Commit

Permalink
[material-ui][Autocomplete] Caret transformation issue with font size…
Browse files Browse the repository at this point in the history
… change (#41066)
  • Loading branch information
dpertsin authored Feb 14, 2024
1 parent 1b40562 commit 01a901b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/mui-material/src/Autocomplete/Autocomplete.js
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,8 @@ const AutocompleteEndAdornment = styled('div', {
// We use a position absolute to support wrapping tags.
position: 'absolute',
right: 0,
top: 'calc(50% - 14px)', // Center vertically
top: '50%',
transform: 'translate(0, -50%)',
});

const AutocompleteClearIndicator = styled(IconButton, {
Expand Down

0 comments on commit 01a901b

Please sign in to comment.