Skip to content

Commit

Permalink
Include conditional style to set spacing for ui-select
Browse files Browse the repository at this point in the history
  • Loading branch information
sg00dwin committed Mar 1, 2017
1 parent 8d4deed commit 4fc2ecb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion app/views/browse/pod.html
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ <h3>Container {{container.name}} Environment Variables</h3>
context="projectContext"
options="logOptions"
empty="logEmpty"
run="logCanRun">
run="logCanRun"
ng-class="{'log-viewer-select': pod.spec.containers.length > 1}">

<span class="container-details">
<label for="selectLogContainer">Container:</label>
Expand Down
2 changes: 1 addition & 1 deletion dist/scripts/templates.js
Original file line number Diff line number Diff line change
Expand Up @@ -3320,7 +3320,7 @@ angular.module('openshiftConsoleTemplates', []).run(['$templateCache', function(
"</uib-tab>\n" +
"<uib-tab active=\"selectedTab.logs\" ng-if=\"'pods/log' | canI : 'get'\">\n" +
"<uib-tab-heading>Logs</uib-tab-heading>\n" +
"<log-viewer ng-if=\"selectedTab.logs\" follow-affix-top=\"390\" object=\"pod\" context=\"projectContext\" options=\"logOptions\" empty=\"logEmpty\" run=\"logCanRun\">\n" +
"<log-viewer ng-if=\"selectedTab.logs\" follow-affix-top=\"390\" object=\"pod\" context=\"projectContext\" options=\"logOptions\" empty=\"logEmpty\" run=\"logCanRun\" ng-class=\"{'log-viewer-select': pod.spec.containers.length > 1}\">\n" +
"<span class=\"container-details\">\n" +
"<label for=\"selectLogContainer\">Container:</label>\n" +
"<span ng-if=\"pod.spec.containers.length === 1\">\n" +
Expand Down

0 comments on commit 4fc2ecb

Please sign in to comment.