diff --git a/package-lock.json b/package-lock.json index 0c53d6e7d4..375c17cac1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -60337,7 +60337,7 @@ "@instructure/ui-form-field": "8.45.0", "@instructure/ui-icons": "8.45.0", "@instructure/ui-react-utils": "8.45.0", - "@instructure/ui-scripts": "*", + "@instructure/ui-scripts": "^8.45.0", "@instructure/ui-test-locator": "8.45.0", "@instructure/ui-test-utils": "8.45.0", "@instructure/ui-testable": "8.45.0", diff --git a/packages/ui-truncate-text/src/TruncateText/styles.ts b/packages/ui-truncate-text/src/TruncateText/styles.ts index 72499f531c..ff4938fae0 100644 --- a/packages/ui-truncate-text/src/TruncateText/styles.ts +++ b/packages/ui-truncate-text/src/TruncateText/styles.ts @@ -44,6 +44,7 @@ const generateStyle = ( display: 'block', overflow: 'hidden', wordWrap: 'break-word', + whiteSpace: 'normal', fontFamily: componentTheme.fontFamily }, auto: { label: 'truncateText__auto', height: '100%' },