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:
Ben Lambert
2025-12-01 10:34:08 +01:00
committed by GitHub
2 changed files with 6 additions and 0 deletions
+5
View File
@@ -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',
},