Browse Source

HUE-6077 [frontend] Fixed toolbar height on search matches the assist header height

Enrico Berti 8 years ago
parent
commit
5f0a8ca

File diff suppressed because it is too large
+ 0 - 0
desktop/libs/dashboard/src/dashboard/static/dashboard/css/common_dashboard.css


+ 3 - 3
desktop/libs/dashboard/src/dashboard/static/dashboard/less/common_dashboard.less

@@ -93,7 +93,7 @@
     margin: 0;
     padding: 4px;
     padding-top: 0;
-    top: 80px;
+    top: 73px;
     position: fixed;
     width: 100%;
     z-index: 1001;
@@ -215,8 +215,8 @@
   }
 
   .search-bar {
-    padding-top: 6px;
-    padding-bottom: 6px;
+    padding-top: 10px;
+    padding-bottom: 7px;
   }
 
   .form-search .input-append {

+ 1 - 1
desktop/libs/dashboard/src/dashboard/templates/common_search.mako

@@ -59,7 +59,7 @@ from desktop.views import commonheader, commonfooter, _ko
     </div>
   </div>
 
-  <div class="pull-right" style="${ is_embeddable and '' or 'padding-right:50px'}">
+  <div class="pull-right" style="${ not is_embeddable and 'padding-right:50px' or ''}">
     <a class="btn pointer" title="${ _('Edit') }" rel="tooltip" data-placement="bottom" data-bind="click: toggleEditing, css: {'btn': true, 'btn-inverse': isEditing}">
       <i class="fa fa-pencil"></i>
     </a>

Some files were not shown because too many files changed in this diff