Improved the responsiveness of the "Create or assign product" dialog

This commit is contained in:
Bernd Bestel 2019-09-24 10:19:23 +02:00
parent 099ac7e75a
commit e727a38071
No known key found for this signature in database
GPG Key ID: 71BD34C0D4891300

View File

@ -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");
})