Browse Source

AMBARI-1190. Detailed log view dialogs are not center-aligned. (yusaku)

git-svn-id: https://svn.apache.org/repos/asf/incubator/ambari/trunk@1433663 13f79535-47bb-0310-9956-ffa450edef68
Yusaku Sako 12 years ago
parent
commit
70d18e971e
2 changed files with 3 additions and 1 deletions
  1. 2 0
      CHANGES.txt
  2. 1 1
      ambari-web/app/views/common/modal_popup.js

+ 2 - 0
CHANGES.txt

@@ -38,6 +38,8 @@ Trunk (unreleased changes):
 
  BUG FIXES
 
+ AMBARI-1190. Detailed log view dialogs are not center-aligned. (yusaku)
+
  AMBARI-1187. Dashboard > MapReduce mini chart sometimes shows partial graph and hides recent data. (yusaku)
 
  AMBARI-1184. After adding hosts, the host count shown in the Dashboard is

+ 1 - 1
ambari-web/app/views/common/modal_popup.js

@@ -71,7 +71,7 @@ App.ModalPopup = Ember.View.extend({
     if(this.autoHeight){
       this._super();
       var block = this.$().find('#modal > .modal-body').first();
-      block.css('max-height', $(window).height()- block.offset().top - 100); // fix popup height
+      block.css('max-height', $(window).height()- block.offset().top - 300); // fix popup height
     }
   }
 });