Repository: ambari Updated Branches: refs/heads/trunk f1e0d84d9 -> fa9c106c5
AMBARI-6369. hostname wrapping with icon asterisks on assign slaves.(xiwang) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/fa9c106c Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/fa9c106c Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/fa9c106c Branch: refs/heads/trunk Commit: fa9c106c50bb498f26bb66151174db8fc0984508 Parents: f1e0d84 Author: Xi Wang <[email protected]> Authored: Wed Jul 2 15:05:31 2014 -0700 Committer: Xi Wang <[email protected]> Committed: Wed Jul 2 15:16:26 2014 -0700 ---------------------------------------------------------------------- ambari-web/app/styles/application.less | 7 +++++++ ambari-web/app/templates/wizard/step6.hbs | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/fa9c106c/ambari-web/app/styles/application.less ---------------------------------------------------------------------- diff --git a/ambari-web/app/styles/application.less b/ambari-web/app/styles/application.less index 424681b..d1bdb55 100644 --- a/ambari-web/app/styles/application.less +++ b/ambari-web/app/styles/application.less @@ -758,6 +758,8 @@ h1 { display: block; overflow: hidden; text-overflow: ellipsis; + float:left; + white-space: nowrap; } } } @@ -780,6 +782,8 @@ h1 { #component_assign_table { .trim_hostname { max-width: 180px; + float:left; + white-space: nowrap; display: block; overflow: hidden; text-overflow: ellipsis; @@ -875,6 +879,8 @@ h1 { display: block; overflow: hidden; text-overflow: ellipsis; + float:left; + white-space: nowrap; } .progress-bar { width: 73%; @@ -3514,6 +3520,7 @@ table.graphs { width: 93%!important; overflow: hidden; text-overflow: ellipsis; + white-space: nowrap; } th.first, td.first { border-left-width: 1px; http://git-wip-us.apache.org/repos/asf/ambari/blob/fa9c106c/ambari-web/app/templates/wizard/step6.hbs ---------------------------------------------------------------------- diff --git a/ambari-web/app/templates/wizard/step6.hbs b/ambari-web/app/templates/wizard/step6.hbs index fb053da..33911cd 100644 --- a/ambari-web/app/templates/wizard/step6.hbs +++ b/ambari-web/app/templates/wizard/step6.hbs @@ -46,7 +46,7 @@ {{#view App.WizardStep6HostView hostBinding="host" }} <span class="trim_hostname">{{host.hostName}}</span> {{#if host.hasMaster}} - <i class=icon-asterisks>✵</i> + <i class="icon-asterisks">✵</i> {{/if}} {{/view}} {{#each checkbox in host.checkboxes}}
