Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mnajdova committed Apr 14, 2021
1 parent 24b9dd4 commit 0ae47d9
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 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,
[`&.${selectClasses[styleProps.variant]}`]: styles[styleProps.variant],
},
styles.root || {},
);
Expand All @@ -33,11 +33,13 @@ const SelectRoot = experimentalStyled(
{},
{ name: 'MuiSelect', slot: 'Root', overridesResolver },
)(nativeSelectRootStyles, {
height: 'auto', // Resets for multiple select with chips
minHeight: '1.4375em', // Required for select\text-field height consistency
textOverflow: 'ellipsis',
whiteSpace: 'nowrap',
overflow: 'hidden',
[`&.${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',
},
});

const SelectIcon = experimentalStyled(
Expand Down

0 comments on commit 0ae47d9

Please sign in to comment.