Center title in product picture dialog

This commit is contained in:
Bernd Bestel
2018-10-02 18:00:52 +02:00
parent bb9caf9cc9
commit ae58606d04
2 changed files with 9 additions and 1 deletions

View File

@@ -153,9 +153,11 @@ $(document).on("click", ".product-name-cell", function(e)
bootbox.dialog({
title: L("Image of product #1", productName),
message: "<img src='" + pictureUrl + "' class='img-fluid img-thumbnail d-flex mx-auto'>",
message: "<img src='" + pictureUrl + "' class='img-fluid img-thumbnail'>",
backdrop: false,
onEscape: true,
closeButton: false,
className: 'centered-dialog',
buttons: {
editproduct: {
label: '<i class="fas fa-edit"></i> ' + L('Edit product'),