diff --git a/src/components/CanvasAnnotations.js b/src/components/CanvasAnnotations.js
index 540786e4d7..89744d09f9 100644
--- a/src/components/CanvasAnnotations.js
+++ b/src/components/CanvasAnnotations.js
@@ -72,6 +72,7 @@ export class CanvasAnnotations extends Component {
{annotations.map((annotation) => (
@@ -271,7 +271,7 @@ export class CollectionDialog extends Component {
diff --git a/src/components/WindowSideBarCollectionPanel.js b/src/components/WindowSideBarCollectionPanel.js
index 7ccaa6b264..526cdc842c 100644
--- a/src/components/WindowSideBarCollectionPanel.js
+++ b/src/components/WindowSideBarCollectionPanel.js
@@ -21,11 +21,11 @@ function Item({
alignItems="flex-start"
button
component="li"
+ variant="multiline"
sx={{
borderBottom: '0.5px solid',
borderBottomColor: 'divider',
paddingRight: 1,
- whiteSpace: 'normal',
}}
{...otherProps}
>
diff --git a/src/config/settings.js b/src/config/settings.js
index c7f53e48a7..53798689fa 100644
--- a/src/config/settings.js
+++ b/src/config/settings.js
@@ -169,6 +169,14 @@ export default {
useNextVariants: true // set so that console deprecation warning is removed
},
components: {
+ MuiMenuItem: {
+ variants: [
+ {
+ props: { variant: 'multiline' },
+ style: { whiteSpace: 'normal' }
+ },
+ ]
+ },
CompanionWindowSection: {
styleOverrides: {
root: {