From eca3d90310b5fa65026c97617a82f212be485d6e Mon Sep 17 00:00:00 2001 From: Olivier Tassinari Date: Tue, 3 Dec 2019 13:00:01 +0100 Subject: [PATCH] keep chip change for another pull request --- .../material-ui-lab/src/Autocomplete/Autocomplete.js | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/packages/material-ui-lab/src/Autocomplete/Autocomplete.js b/packages/material-ui-lab/src/Autocomplete/Autocomplete.js index 75d57a7aa075c5..02b14e1979135c 100644 --- a/packages/material-ui-lab/src/Autocomplete/Autocomplete.js +++ b/packages/material-ui-lab/src/Autocomplete/Autocomplete.js @@ -26,22 +26,12 @@ export const styles = theme => ({ tag: { margin: 3, maxWidth: 'calc(100% - 6px)', - '&:last-child': { - marginRight: 5, - maxWidth: 'calc(100% - 8px)', - }, }, /* Styles applied to the tag elements, e.g. the chips if `size="small"`. */ tagSizeSmall: { margin: 2, maxWidth: 'calc(100% - 4px)', }, - /* Styles applied to the label of the tag elements, e.g. the chip's label. */ - tagLabel: { - display: 'block', - overflow: 'hidden', - textOverflow: 'ellipsis', - }, /* Styles applied to the Input element. */ inputRoot: { flexWrap: 'wrap', @@ -311,7 +301,6 @@ const Autocomplete = React.forwardRef(function Autocomplete(props, ref) { className: clsx(classes.tag, { [classes.tagSizeSmall]: size === 'small', }), - classes: { label: classes.tagLabel }, ...getTagProps(params), });