Updated Branches: refs/heads/trunk 158a737f5 -> 1ed9d97e7
AMBARI-3882. Background operations popup window minimum size should be fixed when narrowing down the browser. (xiwang via yusaku) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/1ed9d97e Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/1ed9d97e Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/1ed9d97e Branch: refs/heads/trunk Commit: 1ed9d97e7f8b98c65bbef1f7be98cc599e2c2c11 Parents: 158a737 Author: Yusaku Sako <[email protected]> Authored: Tue Nov 26 10:20:24 2013 -0800 Committer: Yusaku Sako <[email protected]> Committed: Tue Nov 26 10:20:24 2013 -0800 ---------------------------------------------------------------------- ambari-web/app/styles/application.less | 12 ++++++------ ambari-web/app/utils/host_progress_popup.js | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/1ed9d97e/ambari-web/app/styles/application.less ---------------------------------------------------------------------- diff --git a/ambari-web/app/styles/application.less b/ambari-web/app/styles/application.less index f429c1b..2e6a549 100644 --- a/ambari-web/app/styles/application.less +++ b/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*****/ http://git-wip-us.apache.org/repos/asf/ambari/blob/1ed9d97e/ambari-web/app/utils/host_progress_popup.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/utils/host_progress_popup.js b/ambari-web/app/utils/host_progress_popup.js index f25f4c4..b3636cc 100644 --- a/ambari-web/app/utils/host_progress_popup.js +++ b/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,
