Skip to content

Commit 8d0be59

Browse files
Merge pull request #2386 from sg00dwin/notification-drawer-long-string-issue
Automatic merge from submit-queue. Wrap notification message with word-break to enable wrapping fixes #2254 tested in Chrome, FF, Edge, Safari
2 parents e9b3bd3 + 9be5302 commit 8d0be59

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: app/views/directives/notifications/notification-body.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
<div class="drawer-pf-notification-content">
5151

5252
<div
53-
class="drawer-pf-notification-message"
53+
class="drawer-pf-notification-message word-break"
5454
ng-attr-title="{{notification.event.message}}">
5555
<div>
5656

Diff for: dist/scripts/templates.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -7880,7 +7880,7 @@ angular.module('openshiftConsoleTemplates', []).run(['$templateCache', function(
78807880
"<span class=\"pull-left {{notification.type | alertIcon}}\" aria-hidden=\"true\"></span>\n" +
78817881
"<span class=\"sr-only\">{{notification.event.type}}</span>\n" +
78827882
"<div class=\"drawer-pf-notification-content\">\n" +
7883-
"<div class=\"drawer-pf-notification-message\" ng-attr-title=\"{{notification.event.message}}\">\n" +
7883+
"<div class=\"drawer-pf-notification-message word-break\" ng-attr-title=\"{{notification.event.message}}\">\n" +
78847884
"<div>\n" +
78857885
"<span ng-if=\"notification.event.reason\">\n" +
78867886
"{{notification.event.reason | humanize}} &mdash; <span ng-if=\"notification.event.involvedObject\">{{notification.event.involvedObject.kind | humanize}}</span>\n" +

0 commit comments

Comments
 (0)