Legacy option for overflow wrap & update changeset bump

Signed-off-by: Philipp Hugenroth <philipph@spotify.com>
This commit is contained in:
Philipp Hugenroth
2021-07-19 11:06:28 +02:00
parent 03bf17e9b8
commit c642324708
4 changed files with 5 additions and 3 deletions
-1
View File
@@ -1,5 +1,4 @@
---
'example-app': patch
'@backstage/core-components': patch
'@backstage/create-app': patch
'@backstage/plugin-api-docs': patch
@@ -137,7 +137,7 @@ const EntityLayoutWrapper = (props: { children?: ReactNode }) => {
/**
* TODO: For the MUI Grid to work there have to be "xs" set on every GridItem,
* such that the seperation of space is clear from the smalles screen size upwards
* such that the seperation of space is clear from the smallest screen size upwards
* https://material-ui.com/components/grid/#basic-grid.
*/
@@ -159,7 +159,7 @@ const websiteEntityPage = (
/**
* TODO: For the MUI Grid to work there have to be "xs" set on every GridItem,
* such that the seperation of space is clear from the smalles screen size upwards
* such that the seperation of space is clear from the smallest screen size upwards
* https://material-ui.com/components/grid/#basic-grid.
*/
@@ -52,6 +52,9 @@ type Props = {
const useStyles = makeStyles<BackstageTheme>(() => ({
message: {
// `word-break: break-word` is deprecated, but gives legacy support to browsers not supporting `overflow-wrap` yet
// https://developer.mozilla.org/en-US/docs/Web/CSS/word-break
wordBreak: 'break-word',
overflowWrap: 'anywhere',
},
}));