Skip to content

Commit

Permalink
fix argos
Browse files Browse the repository at this point in the history
  • Loading branch information
mnajdova committed Jan 26, 2021
1 parent a809122 commit 316c968
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
10 changes: 5 additions & 5 deletions packages/material-ui/src/Autocomplete/Autocomplete.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export const styles = (theme) => ({
padding: '2.5px 4px',
},
},
'&[class*="MuiFilledInput-root"]': {
'&.MuiFilledInput-root': {
paddingTop: 19,
paddingLeft: 8,
'$hasPopupIcon &, $hasClearIcon &': {
Expand All @@ -111,16 +111,16 @@ export const styles = (theme) => ({
'$hasPopupIcon$hasClearIcon &': {
paddingRight: 52 + 4 + 9,
},
'& $input': {
'& .MuiFilledInput-input': {
padding: '7px 4px',
},
'& $endAdornment': {
'& .MuiInputBase-inputAdornedEnd': {
right: 9,
},
},
'&[class*="MuiFilledInput-root"][class*="MuiFilledInput-sizeSmall"]': {
'&.MuiFilledInput-root.MuiInputBase-sizeSmall': {
paddingBottom: 1,
'& $input': {
'& .MuiFilledInput-input': {
padding: '2.5px 4px',
},
},
Expand Down
10 changes: 8 additions & 2 deletions packages/material-ui/src/FilledInput/FilledInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,10 @@ const FilledInputInput = experimentalStyled(
{ shouldForwardProp: (prop) => shouldForwardProp(prop) || prop === 'classes' },
{ name: 'MuiFilledInput', slot: 'Input' },
)(({ theme, styleProps }) => ({
padding: '25px 12px 8px',
paddingTop: 25,
paddingRight: 12,
paddingBottom: 8,
paddingLeft: 12,
'&:-webkit-autofill': {
WebkitBoxShadow: theme.palette.mode === 'light' ? null : '0 0 0 100px #266798 inset',
WebkitTextFillColor: theme.palette.mode === 'light' ? null : '#fff',
Expand All @@ -150,7 +153,10 @@ const FilledInputInput = experimentalStyled(
}),
/* Styles applied to the input element if `multiline={true}`. */
...(styleProps.multiline && {
padding: 0,
paddingTop: 0,
paddingBottom: 0,
paddingLeft: 0,
paddingRight: 0,
}),
/* Styles applied to the input element if `startAdornment` is provided. */
...(styleProps.startAdornment && {
Expand Down

0 comments on commit 316c968

Please sign in to comment.