diff --git a/public/viewjs/components/productpicker.js b/public/viewjs/components/productpicker.js index b4d07621..165a17ea 100644 --- a/public/viewjs/components/productpicker.js +++ b/public/viewjs/components/productpicker.js @@ -243,3 +243,9 @@ $(document).on("Grocy.BarcodeScanned", function(e, barcode) Grocy.Components.ProductPicker.GetInputElement().blur(); }, 200); }); + +$(document).on("shown.bs.modal", function(e) +{ + $(".modal-footer").addClass("d-block").addClass("d-sm-flex"); + $(".modal-footer").find("button").addClass("mt-2").addClass("mt-sm-0"); +})