diff --git a/theme/boost/scss/moodle/core.scss b/theme/boost/scss/moodle/core.scss index 74b1be396d63f..75cb48c43ad40 100644 --- a/theme/boost/scss/moodle/core.scss +++ b/theme/boost/scss/moodle/core.scss @@ -3032,12 +3032,11 @@ blockquote { border-left: 5px solid $gray-400; } -/** Prevent long strings exceeding page width */ +/* Prevent long strings exceeding page width */ .page-header-headings, .coursename, .categoryname, -.breadcrumb-item, -.dropdown-item { +.breadcrumb-item { &:not(.text-truncate) { word-break: normal; diff --git a/theme/boost/style/moodle.css b/theme/boost/style/moodle.css index 5ca024422e1e3..e02b4b4574b30 100644 --- a/theme/boost/style/moodle.css +++ b/theme/boost/style/moodle.css @@ -12328,12 +12328,11 @@ blockquote { color: #495057; border-left: 5px solid #ced4da; } -/** Prevent long strings exceeding page width */ +/* Prevent long strings exceeding page width */ .page-header-headings:not(.text-truncate), .coursename:not(.text-truncate), .categoryname:not(.text-truncate), -.breadcrumb-item:not(.text-truncate), -.dropdown-item:not(.text-truncate) { +.breadcrumb-item:not(.text-truncate) { word-break: normal; overflow-wrap: anywhere; white-space: normal; } diff --git a/theme/classic/style/moodle.css b/theme/classic/style/moodle.css index 1d3dd895ef7a9..855ff72ecbd73 100644 --- a/theme/classic/style/moodle.css +++ b/theme/classic/style/moodle.css @@ -12328,12 +12328,11 @@ blockquote { color: #495057; border-left: 5px solid #ced4da; } -/** Prevent long strings exceeding page width */ +/* Prevent long strings exceeding page width */ .page-header-headings:not(.text-truncate), .coursename:not(.text-truncate), .categoryname:not(.text-truncate), -.breadcrumb-item:not(.text-truncate), -.dropdown-item:not(.text-truncate) { +.breadcrumb-item:not(.text-truncate) { word-break: normal; overflow-wrap: anywhere; white-space: normal; }