Skip to content

Commit

Permalink
[Autocomplete] Prevent tag overflow (#18662)
Browse files Browse the repository at this point in the history
  • Loading branch information
fbarbare authored and oliviertassinari committed Dec 3, 2019
1 parent 2022b68 commit b2c5e2d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/material-ui-lab/src/Autocomplete/Autocomplete.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,12 @@ export const styles = theme => ({
/* Styles applied to the tag elements, e.g. the chips. */
tag: {
margin: 3,
'&:last-child': {
marginRight: 5,
},
maxWidth: 'calc(100% - 6px)',
},
/* Styles applied to the tag elements, e.g. the chips if `size="small"`. */
tagSizeSmall: {
margin: 2,
maxWidth: 'calc(100% - 4px)',
},
/* Styles applied to the Input element. */
inputRoot: {
Expand Down

0 comments on commit b2c5e2d

Please sign in to comment.