You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by at...@apache.org on 2018/06/28 09:13:21 UTC

[ambari] 02/03: AMBARI-24122 Moved the fix to bootstrap_overrides.less

This is an automated email from the ASF dual-hosted git repository.

atkach pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git

commit d6e74e58d0501c4d81807f7c01a40d34158de9f5
Author: Srikanth Janardhan <sj...@hortonworks.com>
AuthorDate: Wed Jun 27 00:03:20 2018 +0530

    AMBARI-24122 Moved the fix to bootstrap_overrides.less
---
 ambari-web/app/styles/bootstrap_overrides.less   | 2 ++
 ambari-web/app/styles/theme/bootstrap-ambari.css | 2 --
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ambari-web/app/styles/bootstrap_overrides.less b/ambari-web/app/styles/bootstrap_overrides.less
index 51c7088..0e34d9c 100644
--- a/ambari-web/app/styles/bootstrap_overrides.less
+++ b/ambari-web/app/styles/bootstrap_overrides.less
@@ -439,6 +439,8 @@ select.form-control {
 .navigation-bar-container.collapsed ul.nav.side-nav-footer li ul.sub-menu {
   padding: 5px 0;
   background-color: #323544;
+  max-height: calc(100% - 100px);
+  overflow-y: scroll;
 }
 
 input[type="checkbox"]:checked + label:after {
diff --git a/ambari-web/app/styles/theme/bootstrap-ambari.css b/ambari-web/app/styles/theme/bootstrap-ambari.css
index 474782e..1f01a3b 100644
--- a/ambari-web/app/styles/theme/bootstrap-ambari.css
+++ b/ambari-web/app/styles/theme/bootstrap-ambari.css
@@ -1143,8 +1143,6 @@ input.radio:checked + label:after {
   z-index: 100;
   top: 0;
   left: 50px;
-  max-height: calc(100% - 100px);
-  overflow-y: scroll;
 }
 .navigation-bar-container.collapsed ul.nav.side-nav-menu li.submenu-li > a,
 .navigation-bar-container.collapsed ul.nav.side-nav-footer li.submenu-li > a {