File tree Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,11 @@ const Breadcrumbs = () => {
36
36
< MUIBreadcrumbs
37
37
aria-label = "breadcrumb"
38
38
separator = { < NavigateNextIcon fontSize = "small" /> }
39
- sx = { { margin : { xs : '20px' , sm : '20px 80px' } } }
39
+ sx = { {
40
+ margin : { xs : '20px' , sm : '20px 80px' } ,
41
+ wordWrap : 'break-word' ,
42
+ overflowWrap : 'break-word'
43
+ } }
40
44
>
41
45
{ crumbs . map ( ( crumb , index ) =>
42
46
index !== crumbs . length - 1 ? (
@@ -47,11 +51,20 @@ const Breadcrumbs = () => {
47
51
. replaceAll ( ' ' , '-' )
48
52
. toLowerCase ( ) } `}
49
53
key = { crumb }
54
+ style = { {
55
+ wordBreak : 'break-word'
56
+ } }
50
57
>
51
58
{ crumb }
52
59
</ Link >
53
60
) : (
54
- < Typography component = "h2" key = { crumb } >
61
+ < Typography
62
+ component = "h2"
63
+ key = { crumb }
64
+ sx = { {
65
+ wordBreak : 'break-word'
66
+ } }
67
+ >
55
68
{ crumb }
56
69
</ Typography >
57
70
)
You can’t perform that action at this time.
0 commit comments