Skip to content

Commit

Permalink
Include word-break class to prevent breakage at mobile widths
Browse files Browse the repository at this point in the history
Fixes #1784
  • Loading branch information
sg00dwin committed Jul 3, 2017
1 parent 1c22134 commit f2df478
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/views/browse/_build-details.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ <h3>Configuration <span class="small" ng-if="buildConfigName">created from <a hr
<dd ng-if-end>{{build.spec.source.contextDir}}</dd>
<dt ng-if-start="build.spec.revision.git.commit">Source Commit:</dt>
<dd ng-if-end>
{{build.spec.revision.git.message}}
<span class="word-break">
{{build.spec.revision.git.message}}
</span>
<osc-git-link
class="hash"
uri="build.spec.source.git.uri"
Expand Down
2 changes: 2 additions & 0 deletions dist/scripts/templates.js
Original file line number Diff line number Diff line change
Expand Up @@ -1218,7 +1218,9 @@ angular.module('openshiftConsoleTemplates', []).run(['$templateCache', function(
"<dd ng-if-end>{{build.spec.source.contextDir}}</dd>\n" +
"<dt ng-if-start=\"build.spec.revision.git.commit\">Source Commit:</dt>\n" +
"<dd ng-if-end>\n" +
"<span class=\"word-break\">\n" +
"{{build.spec.revision.git.message}}\n" +
"</span>\n" +
"<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" +
"<span ng-if=\"build.spec.revision.git.author\">\n" +
"authored by {{build.spec.revision.git.author.name}}\n" +
Expand Down

0 comments on commit f2df478

Please sign in to comment.