mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 12:20:22 +00:00
Minor style refinements
This commit is contained in:
@@ -553,7 +553,7 @@ canvas.drawingBuffer {
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
@media (max-width: 992px) {
|
||||
@media (max-width: 768px) {
|
||||
|
||||
#table-filter-row div:not(:first-of-type) {
|
||||
margin-top: 8px;
|
||||
|
@@ -8,17 +8,6 @@
|
||||
$('#qu-conversions-resolved-table tbody').removeClass("d-none");
|
||||
quConversionsResolvedTable.columns.adjust().draw();
|
||||
|
||||
$("#search").on("keyup", Delay(function()
|
||||
{
|
||||
var value = $(this).val();
|
||||
if (value === "all")
|
||||
{
|
||||
value = "";
|
||||
}
|
||||
|
||||
quConversionsResolvedTable.search(value).draw();
|
||||
}, 500));
|
||||
|
||||
$("#quantity-unit-filter").on("change", function()
|
||||
{
|
||||
var value = $("#quantity-unit-filter option:selected").text();
|
||||
@@ -32,7 +21,6 @@ $("#quantity-unit-filter").on("change", function()
|
||||
|
||||
$("#clear-filter-button").on("click", function()
|
||||
{
|
||||
$("#search").val("");
|
||||
$("#quantity-unit-filter").val("all");
|
||||
quConversionsResolvedTable.column([quConversionsResolvedTable.colReorder.transpose(1), quConversionsResolvedTable.colReorder.transpose(2)]).search("").draw();
|
||||
quConversionsResolvedTable.search("").draw();
|
||||
|
Reference in New Issue
Block a user