Skip to content

Commit

Permalink
maybe fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mnajdova committed Apr 14, 2021
1 parent b8562f5 commit 24b9dd4
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions packages/material-ui/src/Select/SelectInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ export const overridesResolver = (props, styles) => {
return deepmerge(
{
...styles.select,
...styles.selectMenu,
...styles[styleProps.variant],
[`&.${selectClasses.selectMenu}`]: styles.selectMenu,
},
styles.root || {},
);
Expand All @@ -33,13 +33,11 @@ const SelectRoot = experimentalStyled(
{},
{ name: 'MuiSelect', slot: 'Root', overridesResolver },
)(nativeSelectRootStyles, {
[`&.${selectClasses.selectMenu}`]: {
height: 'auto', // Resets for multiple select with chips
minHeight: '1.4375em', // Required for select\text-field height consistency
textOverflow: 'ellipsis',
whiteSpace: 'nowrap',
overflow: 'hidden',
},
height: 'auto', // Resets for multiple select with chips
minHeight: '1.4375em', // Required for select\text-field height consistency
textOverflow: 'ellipsis',
whiteSpace: 'nowrap',
overflow: 'hidden',
});

const SelectIcon = experimentalStyled(
Expand Down

0 comments on commit 24b9dd4

Please sign in to comment.