Browse Source

AMBARI-9729. Usability: Increase the size of the stack advisor popup (onechiporenko)

Oleg Nechiporenko 10 years ago
parent
commit
667df41cfa

+ 2 - 1
ambari-web/app/mixins/common/serverValidator.js

@@ -260,9 +260,10 @@ App.ServerValidatorMixin = Em.Mixin.create({
       // Motivation: for server-side validation warnings and EVEN errors allow user to continue wizard
       return App.ModalPopup.show({
         header: Em. I18n.t('installer.step7.popup.validation.warning.header'),
-        classNames: ['sixty-percent-width-modal'],
+        classNames: ['sixty-percent-width-modal','modal-full-width'],
         primary: Em.I18n.t('common.proceedAnyway'),
         primaryClass: 'btn-danger',
+        marginBottom: 200,
         onPrimary: function () {
           this.hide();
           deferred.resolve();

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

@@ -226,6 +226,15 @@
     min-width: 590px;
     top: 5%;
   }
+
+  &.modal-full-width {
+    .modal {
+      width: 90%;
+      margin: 0 0 0 -45%;
+      max-height: 90%;
+    }
+  }
+
   .long-popup-list {
     height: 280px;
     overflow: auto;