Repository: ambari
Updated Branches:
  refs/heads/trunk 771deecd2 -> cb280b583


AMBARI-15221. Gap between top navigation bar and views dropdown (alexantonenko)


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

Branch: refs/heads/trunk
Commit: cb280b5832ed5464fb6dcbc3f5c879948a0493bd
Parents: 771deec
Author: Alex Antonenko <hiv...@gmail.com>
Authored: Mon Feb 29 15:37:03 2016 +0200
Committer: Alex Antonenko <hiv...@gmail.com>
Committed: Mon Feb 29 16:21:25 2016 +0200

----------------------------------------------------------------------
 ambari-web/app/styles/application.less      | 3 +++
 ambari-web/app/templates/main/menu_item.hbs | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/cb280b58/ambari-web/app/styles/application.less
----------------------------------------------------------------------
diff --git a/ambari-web/app/styles/application.less 
b/ambari-web/app/styles/application.less
index 75ceacc..d8cb4ca 100644
--- a/ambari-web/app/styles/application.less
+++ b/ambari-web/app/styles/application.less
@@ -218,6 +218,9 @@ footer {
         color: @top-nav-menu-text-color;
         text-align: center;
         white-space: nowrap;
+        &.views-button-container {
+          padding-bottom: 9.23077px;
+        }
       }
       .active > a, .active > a:hover, .active > a:focus {
         color: @top-nav-menu-active-text-color;

http://git-wip-us.apache.org/repos/asf/ambari/blob/cb280b58/ambari-web/app/templates/main/menu_item.hbs
----------------------------------------------------------------------
diff --git a/ambari-web/app/templates/main/menu_item.hbs 
b/ambari-web/app/templates/main/menu_item.hbs
index 4d75298..0f8d6a9 100644
--- a/ambari-web/app/templates/main/menu_item.hbs
+++ b/ambari-web/app/templates/main/menu_item.hbs
@@ -17,7 +17,7 @@
 }}
 
 
-<a href="#" {{action goToSection view.content.routing target="view"}}>
+<a href="#" {{action goToSection view.content.routing target="view"}} 
{{bindAttr class="view.content.isView:views-button-container"}}>
   {{{unbound view.content.label}}}
 </a>
 

Reply via email to