Просмотр исходного кода

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

Alex Antonenko 9 лет назад
Родитель
Сommit
cb280b5832
2 измененных файлов с 4 добавлено и 1 удалено
  1. 3 0
      ambari-web/app/styles/application.less
  2. 1 1
      ambari-web/app/templates/main/menu_item.hbs

+ 3 - 0
ambari-web/app/styles/application.less

@@ -218,6 +218,9 @@ footer {
         color: @top-nav-menu-text-color;
         color: @top-nav-menu-text-color;
         text-align: center;
         text-align: center;
         white-space: nowrap;
         white-space: nowrap;
+        &.views-button-container {
+          padding-bottom: 9.23077px;
+        }
       }
       }
       .active > a, .active > a:hover, .active > a:focus {
       .active > a, .active > a:hover, .active > a:focus {
         color: @top-nav-menu-active-text-color;
         color: @top-nav-menu-active-text-color;

+ 1 - 1
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}}}
   {{{unbound view.content.label}}}
 </a>
 </a>