mirror of
https://github.com/grocy/grocy.git
synced 2025-08-17 19:16:37 +00:00
Center title in product picture dialog
This commit is contained in:
@@ -81,6 +81,12 @@ input::-webkit-inner-spin-button {
|
|||||||
-webkit-appearance: none;
|
-webkit-appearance: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.centered-dialog .modal-title,
|
||||||
|
.centered-dialog .modal-body {
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
|
}
|
||||||
|
|
||||||
/* Navigation style customizations */
|
/* Navigation style customizations */
|
||||||
#mainNav {
|
#mainNav {
|
||||||
background-color: #e5e5e5 !important;
|
background-color: #e5e5e5 !important;
|
||||||
|
@@ -153,9 +153,11 @@ $(document).on("click", ".product-name-cell", function(e)
|
|||||||
|
|
||||||
bootbox.dialog({
|
bootbox.dialog({
|
||||||
title: L("Image of product #1", productName),
|
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,
|
backdrop: false,
|
||||||
onEscape: true,
|
onEscape: true,
|
||||||
|
closeButton: false,
|
||||||
|
className: 'centered-dialog',
|
||||||
buttons: {
|
buttons: {
|
||||||
editproduct: {
|
editproduct: {
|
||||||
label: '<i class="fas fa-edit"></i> ' + L('Edit product'),
|
label: '<i class="fas fa-edit"></i> ' + L('Edit product'),
|
||||||
|
Reference in New Issue
Block a user