You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by on...@apache.org on 2016/09/20 08:34:01 UTC

ambari git commit: AMBARI-18083. Service and component lists are not cut by max-height (onechiporenko)

Repository: ambari
Updated Branches:
  refs/heads/branch-2.5 dd583ecc3 -> 7c8cf2f80


AMBARI-18083. Service and component lists are not cut by max-height (onechiporenko)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/7c8cf2f8
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/7c8cf2f8
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/7c8cf2f8

Branch: refs/heads/branch-2.5
Commit: 7c8cf2f800fe68820f09479ef9aad6c6cd0476f5
Parents: dd583ec
Author: Oleg Nechiporenko <on...@apache.org>
Authored: Wed Aug 10 10:30:54 2016 +0300
Committer: Oleg Nechiporenko <on...@apache.org>
Committed: Tue Sep 20 11:33:56 2016 +0300

----------------------------------------------------------------------
 ambari-web/app/styles/alerts.less                            | 5 +++++
 .../templates/main/alerts/add_definition_to_group_popup.hbs  | 8 ++++----
 2 files changed, 9 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/7c8cf2f8/ambari-web/app/styles/alerts.less
----------------------------------------------------------------------
diff --git a/ambari-web/app/styles/alerts.less b/ambari-web/app/styles/alerts.less
index 34dd187..e31ea30 100644
--- a/ambari-web/app/styles/alerts.less
+++ b/ambari-web/app/styles/alerts.less
@@ -664,3 +664,8 @@
   font-family: FontAwesome;
   content: "\f011";
 }
+
+.alert-definition-filter-list {
+  max-height: 200px;
+  overflow-y: scroll;
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/ambari/blob/7c8cf2f8/ambari-web/app/templates/main/alerts/add_definition_to_group_popup.hbs
----------------------------------------------------------------------
diff --git a/ambari-web/app/templates/main/alerts/add_definition_to_group_popup.hbs b/ambari-web/app/templates/main/alerts/add_definition_to_group_popup.hbs
index aec3ea1..3284498 100644
--- a/ambari-web/app/templates/main/alerts/add_definition_to_group_popup.hbs
+++ b/ambari-web/app/templates/main/alerts/add_definition_to_group_popup.hbs
@@ -42,8 +42,8 @@
                           href="#" {{bindAttr disabled="view.isDisabled"}}>
                     {{t common.service}}
                     <span class="caret"></span>
-                  </button>
-                  <ul class="dropdown-menu">
+                </button>
+                <ul class="dropdown-menu alert-definition-filter-list">
                     <!-- dropdown menu links -->
                     {{#each service in view.filterServices}}
                       <li>
@@ -67,8 +67,8 @@
                           href="#" {{bindAttr disabled="view.isDisabled"}}>
                     {{t common.component}}
                     <span class="caret"></span>
-                  </button>
-                  <ul class="dropdown-menu">
+                </button>
+                <ul class="dropdown-menu alert-definition-filter-list">
                     <!-- dropdown menu links -->
                     {{#each component in view.filterComponents}}
                       <li>