1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-01 16:51:11 +03:00

Fixed the spacing issue between the bottom of the search bar and the top of the table. There should now be 20px between the two.

This commit is contained in:
Michael Abashian 2016-01-26 16:02:35 -05:00
parent 65e40ff433
commit 2012e75160
5 changed files with 12 additions and 5 deletions

View File

@ -905,7 +905,6 @@ input[type="checkbox"].checkbox-no-label {
/* Display list actions next to search widget */
.list-actions {
text-align: right;
margin-bottom: 10px;
button {
margin-left: 4px;

View File

@ -263,3 +263,11 @@ table, tbody {
background-color: @list-actn-bg-hov !important;
color: @list-actn-icn-hov;
}
.List-searchWidget {
height: 34px;
}
.List-searchRow {
margin-bottom: 20px;
}

View File

@ -1653,7 +1653,7 @@ angular.module('FormGenerator', [GeneratorHelpers.name, 'Utilities', listGenerat
}
//html += "<div class=\"well\">\n";
html += "<div class=\"row\">\n";
html += "<div class=\"row List-searchRow\">\n";
html += SearchWidget({
iterator: collection.iterator,

View File

@ -662,8 +662,8 @@ angular.module('GeneratorHelpers', [systemStatus.name])
modifier = (i === 1) ? '' : i;
if (includeSize) {
html += "<div class=\"";
html += (size) ? size : "col-lg-4 col-md-6 col-sm-8 col-xs-9";
html += "<div class=\"List-searchWidget ";
html += (size) ? size : "col-lg-4 col-md-8 col-sm-12 col-xs-12";
html += "\" id=\"search-widget-container" + modifier + "\">\n";
}

View File

@ -348,7 +348,7 @@ export default ['$location', '$compile', '$rootScope', 'SearchWidget', 'Paginate
if (options.showSearch=== undefined || options.showSearch === true) {
// Only show the search bar if we are loading results or if we have at least 1 base result
html += "<div class=\"row\" ng-show=\"" + list.iterator + "Loading == true || " + list.iterator + "_active_search == true || (" + list.iterator + "Loading == false && " + list.iterator + "_active_search == false && " + list.iterator + "_total_rows > 0)\">\n";
html += "<div class=\"row List-searchRow\" ng-show=\"" + list.iterator + "Loading == true || " + list.iterator + "_active_search == true || (" + list.iterator + "Loading == false && " + list.iterator + "_active_search == false && " + list.iterator + "_total_rows > 0)\">\n";
if (options.searchSize) {
html += SearchWidget({
iterator: list.iterator,