Merge branch 'main' into avm99963-monorail
GitOrigin-RevId: 2bbe35caf837ba29cc5c1a89d66a6881c1230034
diff --git a/static_src/react/mr-react-autocomplete.tsx b/static_src/react/mr-react-autocomplete.tsx
index 8cc5f84..65a045f 100644
--- a/static_src/react/mr-react-autocomplete.tsx
+++ b/static_src/react/mr-react-autocomplete.tsx
@@ -77,11 +77,16 @@
updated(changedProperties: Map<string | number | symbol, unknown>): void {
super.updated(changedProperties);
+ const maxChipLabelWidth = '290px';
const theme = createTheme({
components: {
MuiChip: {
styleOverrides: {
- root: {fontSize: 13},
+ root: { fontSize: 13 },
+ label: {
+ textOverflow: 'ellipsis',
+ maxWidth: maxChipLabelWidth
+ }
},
},
},