mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-23 14:40:36 +01:00
Fix payment button alignement
This commit is contained in:
parent
81ccfa1e6c
commit
f570de5086
1 changed files with 2 additions and 2 deletions
|
@ -61,7 +61,7 @@ function inputChanges(event, buttonSize) {
|
|||
html += addinput("price", srvModel.price);
|
||||
}
|
||||
else if (srvModel.buttonType == 1) {
|
||||
html += '\n <div style="text-align:center;width:' + width + '">';
|
||||
html += '\n <div style="text-align:center;display:inline;width:' + width + '">';
|
||||
html += '<div>';
|
||||
html += addPlusMinusButton("-");
|
||||
html += addInputPrice(srvModel.price, widthInput, "");
|
||||
|
@ -71,7 +71,7 @@ function inputChanges(event, buttonSize) {
|
|||
html += '</div>';
|
||||
}
|
||||
else if (srvModel.buttonType == 2) {
|
||||
html += '\n <div style="text-align:center;width:' + width + '">';
|
||||
html += '\n <div style="text-align:center;display:inline;width:' + width + '">';
|
||||
html += addInputPrice(srvModel.price, width, 'onchange="document.querySelector(\'#btcpay-input-range\').value = document.querySelector(\'#btcpay-input-price\').value"');
|
||||
html += addSelectCurrency();
|
||||
html += addSlider(srvModel.price, srvModel.min, srvModel.max, srvModel.step, width);
|
||||
|
|
Loading…
Add table
Reference in a new issue