You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ak...@apache.org on 2017/10/09 13:37:04 UTC

ambari git commit: AMBARI-22170. Background in Repo Column is Too Short (akovalenko)

Repository: ambari
Updated Branches:
  refs/heads/branch-2.6 eaa878063 -> 2aa6e856c


AMBARI-22170. Background in Repo Column is Too Short (akovalenko)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/2aa6e856
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/2aa6e856
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/2aa6e856

Branch: refs/heads/branch-2.6
Commit: 2aa6e856c2964f5de2d9a184bc9a73beb0068448
Parents: eaa8780
Author: Aleksandr Kovalenko <ak...@hortonworks.com>
Authored: Mon Oct 9 16:01:47 2017 +0300
Committer: Aleksandr Kovalenko <ak...@hortonworks.com>
Committed: Mon Oct 9 16:36:00 2017 +0300

----------------------------------------------------------------------
 .../views/main/admin/stack_upgrade/upgrade_version_column_view.js  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/2aa6e856/ambari-web/app/views/main/admin/stack_upgrade/upgrade_version_column_view.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/admin/stack_upgrade/upgrade_version_column_view.js b/ambari-web/app/views/main/admin/stack_upgrade/upgrade_version_column_view.js
index e76a9ec..ae01feb 100644
--- a/ambari-web/app/views/main/admin/stack_upgrade/upgrade_version_column_view.js
+++ b/ambari-web/app/views/main/admin/stack_upgrade/upgrade_version_column_view.js
@@ -35,7 +35,7 @@ App.UpgradeVersionColumnView = App.UpgradeVersionBoxView.extend({
       });
     }
 
-    var height = App.Service.find().get('length') > 10 ? ((App.Service.find().get('length') - 10) * 40 + 500) : 500;
+    var height = App.Service.find().get('length') > 9 ? ((App.Service.find().get('length') - 9) * 38 + 500) : 500;
     $('.version-column').height(height);
 
     // fix the line up minor diff issue