From bbd5f5e7ae4eef7192576ea3db565c8141ef753c Mon Sep 17 00:00:00 2001 From: Bernd Bestel Date: Thu, 23 Jan 2025 18:08:50 +0100 Subject: [PATCH] Minor style refinements --- public/css/grocy.css | 2 +- public/viewjs/quantityunitconversionsresolved.js | 12 ------------ views/quantityunitconversionsresolved.blade.php | 11 ----------- views/stockjournal.blade.php | 2 +- 4 files changed, 2 insertions(+), 25 deletions(-) diff --git a/public/css/grocy.css b/public/css/grocy.css index 168be879..17638fb6 100755 --- a/public/css/grocy.css +++ b/public/css/grocy.css @@ -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; diff --git a/public/viewjs/quantityunitconversionsresolved.js b/public/viewjs/quantityunitconversionsresolved.js index 4a404df8..2722e9c3 100644 --- a/public/viewjs/quantityunitconversionsresolved.js +++ b/public/viewjs/quantityunitconversionsresolved.js @@ -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(); diff --git a/views/quantityunitconversionsresolved.blade.php b/views/quantityunitconversionsresolved.blade.php index d201f98a..57d1a8a7 100644 --- a/views/quantityunitconversionsresolved.blade.php +++ b/views/quantityunitconversionsresolved.blade.php @@ -30,17 +30,6 @@
-
-
-
- -
- -
-
diff --git a/views/stockjournal.blade.php b/views/stockjournal.blade.php index a03f0bf4..92349dd1 100644 --- a/views/stockjournal.blade.php +++ b/views/stockjournal.blade.php @@ -89,7 +89,7 @@
@endif -
+
 {{ $__t('User') }}