Skip to content

Commit

Permalink
[Autocomplete] Make categories more obvious (#20142)
Browse files Browse the repository at this point in the history
  • Loading branch information
embeddedt authored Mar 17, 2020
1 parent eec5e1a commit b49804c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/material-ui-lab/src/Autocomplete/Autocomplete.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,17 +162,14 @@ export const styles = theme => ({
...theme.typography.body1,
overflow: 'hidden',
margin: '4px 0',
'& > ul': {
maxHeight: '40vh',
overflow: 'auto',
},
},
/* Styles applied to the `listbox` component. */
listbox: {
listStyle: 'none',
margin: 0,
padding: '8px 0px',
position: 'relative',
maxHeight: '40vh',
overflow: 'auto',
},
/* Styles applied to the loading wrapper. */
loading: {
Expand Down Expand Up @@ -223,6 +220,9 @@ export const styles = theme => ({
/* Styles applied to the group's ul elements. */
groupUl: {
padding: 0,
'& $option': {
paddingLeft: 24,
},
},
});

Expand Down

0 comments on commit b49804c

Please sign in to comment.