Prechádzať zdrojové kódy

AMBARI-20172 Manage Configuration Group Hosts popup is way too small to be useful when it is needed. (ababiichuk)

ababiichuk 8 rokov pred
rodič
commit
c9f9215e59

+ 1 - 1
ambari-web/app/controllers/main/alerts/manage_alert_groups_controller.js

@@ -389,7 +389,7 @@ App.ManageAlertGroupsController = Em.Controller.extend({
 
     return App.ModalPopup.show({
 
-      classNames: [ 'sixty-percent-width-modal' ],
+      classNames: ['sixty-percent-width-modal', 'full-height-modal'],
 
       header: popupDescription.header,
 

+ 0 - 2
ambari-web/app/styles/modal_popups.less

@@ -464,8 +464,6 @@
         }
         .hosts-table-container{
           width:100%;
-          height: 225px;
-          max-height: 225px;
           overflow: auto;
           border: 1px solid #eee;
         }

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

@@ -51,7 +51,7 @@ module.exports = {
     }
     App.ModalPopup.show({
 
-      classNames: [ 'sixty-percent-width-modal' ],
+      classNames: ['sixty-percent-width-modal', 'full-height-modal'],
 
       elementId: 'host-selection-dialog',