Browse Source

AMBARI-3882. Background operations popup window minimum size should be fixed when narrowing down the browser. (xiwang via yusaku)

Yusaku Sako 11 years ago
parent
commit
1ed9d97e7f

+ 6 - 6
ambari-web/app/styles/application.less

@@ -1339,11 +1339,12 @@ width:100%;
 /*60% width modal window end*/
 
 /*****start styles for host component popup*****/
-.host-component-popup-wrap
-{
-
-
-
+.host-progress-popup {
+  .modal-body, .modal-footer, .modal-header {
+    min-width: 600px;
+  }
+}
+.host-component-popup-wrap {
   #host-info, #service-info{
     .task-list-line-cursor{
       width: 100%;
@@ -1377,7 +1378,6 @@ width:100%;
       }
     }
   }
-
 }
 /*****end styles for host component popup*****/
 

+ 1 - 1
ambari-web/app/utils/host_progress_popup.js

@@ -478,7 +478,7 @@ App.HostPopup = Em.Object.create({
         controller: this,
         template: Ember.Handlebars.compile('{{popupHeaderName}}')
       }),
-      classNames: ['sixty-percent-width-modal'],
+      classNames: ['sixty-percent-width-modal', 'host-progress-popup'],
       // for the checkbox: do not show this dialog again
       hasFooterCheckbox: true,
       isNotShowBgChecked : null,