diff --git a/InvenTree/InvenTree/static/css/inventree.css b/InvenTree/InvenTree/static/css/inventree.css index 92f39874d7..a1cabc0435 100644 --- a/InvenTree/InvenTree/static/css/inventree.css +++ b/InvenTree/InvenTree/static/css/inventree.css @@ -295,8 +295,6 @@ vertical-align: middle; margin: 1px; padding: 2px; - background: #eee; - border: 1px solid #eee; border-radius: 3px; } @@ -322,8 +320,6 @@ zoom: 1; padding-left: 3px; padding-right: 3px; - padding-top: 2px; - padding-bottom: 2px; border: 1px solid #aaa; border-radius: 3px; background: #eee; @@ -332,6 +328,12 @@ margin-right: 5px; } +.filter-button { + padding: 2px; + padding-left: 4px; + padding-right: 4px; +} + .filter-input { display: inline-block; *display: inline; diff --git a/InvenTree/templates/js/translated/filters.js b/InvenTree/templates/js/translated/filters.js index a2ef36f1d3..4383f0a096 100644 --- a/InvenTree/templates/js/translated/filters.js +++ b/InvenTree/templates/js/translated/filters.js @@ -281,7 +281,7 @@ function setupFilterList(tableKey, table, target) { // One blank slate, please element.empty(); - element.append(``); + element.append(``); // Callback for reloading the table element.find(`#reload-${tableKey}`).click(function() { @@ -293,11 +293,10 @@ function setupFilterList(tableKey, table, target) { return; } - // If there are filters currently "in use", add them in! - element.append(``); + element.append(``); if (Object.keys(filters).length > 0) { - element.append(``); + element.append(``); } for (var key in filters) { @@ -320,7 +319,7 @@ function setupFilterList(tableKey, table, target) { html += generateAvailableFilterList(tableKey); html += generateFilterInput(tableKey); - html += ``; + html += ``; element.append(html);