Skip to content

Commit f2df478

Browse files
committed
Include word-break class to prevent breakage at mobile widths
Fixes #1784
1 parent 1c22134 commit f2df478

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

app/views/browse/_build-details.html

+3-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,9 @@ <h3>Configuration <span class="small" ng-if="buildConfigName">created from <a hr
7575
<dd ng-if-end>{{build.spec.source.contextDir}}</dd>
7676
<dt ng-if-start="build.spec.revision.git.commit">Source Commit:</dt>
7777
<dd ng-if-end>
78-
{{build.spec.revision.git.message}}
78+
<span class="word-break">
79+
{{build.spec.revision.git.message}}
80+
</span>
7981
<osc-git-link
8082
class="hash"
8183
uri="build.spec.source.git.uri"

dist/scripts/templates.js

+2
Original file line numberDiff line numberDiff line change
@@ -1218,7 +1218,9 @@ angular.module('openshiftConsoleTemplates', []).run(['$templateCache', function(
12181218
"<dd ng-if-end>{{build.spec.source.contextDir}}</dd>\n" +
12191219
"<dt ng-if-start=\"build.spec.revision.git.commit\">Source Commit:</dt>\n" +
12201220
"<dd ng-if-end>\n" +
1221+
"<span class=\"word-break\">\n" +
12211222
"{{build.spec.revision.git.message}}\n" +
1223+
"</span>\n" +
12221224
"<osc-git-link class=\"hash\" uri=\"build.spec.source.git.uri\" ref=\"build.spec.revision.git.commit\">{{build.spec.revision.git.commit | limitTo:7}}</osc-git-link>\n" +
12231225
"<span ng-if=\"build.spec.revision.git.author\">\n" +
12241226
"authored by {{build.spec.revision.git.author.name}}\n" +

0 commit comments

Comments
 (0)