mirror of
https://github.com/grocy/grocy.git
synced 2025-04-29 01:32:38 +00:00
Center title in product picture dialog
This commit is contained in:
parent
bb9caf9cc9
commit
ae58606d04
@ -81,6 +81,12 @@ input::-webkit-inner-spin-button {
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
|
||||
.centered-dialog .modal-title,
|
||||
.centered-dialog .modal-body {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
/* Navigation style customizations */
|
||||
#mainNav {
|
||||
background-color: #e5e5e5 !important;
|
||||
|
@ -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'),
|
||||
|
Loading…
x
Reference in New Issue
Block a user