Merge pull request #31898 from meganide/meganide/warning-panel-word-break
fix: add word break style to markdown content to prevent overflow
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/core-components': patch
|
||||
---
|
||||
|
||||
long words like urls now breaks to new line on warning panels instead of overflowing the container
|
||||
@@ -96,6 +96,7 @@ const useStyles = makeStyles(
|
||||
fontWeight: theme.typography.fontWeightBold,
|
||||
},
|
||||
markdownContent: {
|
||||
wordBreak: 'break-word',
|
||||
'& p': {
|
||||
display: 'inline',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user