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:
parent
65e40ff433
commit
2012e75160
@ -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;
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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,
|
||||
|
@ -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";
|
||||
}
|
||||
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user