mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 22:25:28 +01:00
Add "vertical-align: middle;" to pay button image CSS (#2312)
closes #2311
This commit is contained in:
parent
2fd8c831c0
commit
21467ef65d
1 changed files with 1 additions and 1 deletions
|
@ -181,7 +181,7 @@ function inputChanges(event, buttonSize) {
|
|||
}else{
|
||||
var numheight = parseInt(height.replace("px", ""));
|
||||
html+= '<button type="submit" class="submit" name="submit" style="min-width:' + width + '; min-height:' + height + '; border-radius: 4px;border-style: none;background-color: #0f3b21;" alt="Pay with BtcPay, Self-Hosted Bitcoin Payment Processor"><span style="color:#fff">'+esc(srvModel.payButtonText)+'</span>\n' +
|
||||
(srvModel.payButtonImageUrl? '<img src="'+esc(srvModel.payButtonImageUrl)+'" style="height:'+numheight+'px;display:inline-block;padding: 5% 0 5% 5px;">\n' : '')+
|
||||
(srvModel.payButtonImageUrl? '<img src="'+esc(srvModel.payButtonImageUrl)+'" style="height:'+numheight+'px;display:inline-block;padding: 5% 0 5% 5px;vertical-align: middle;">\n' : '')+
|
||||
'</button>'
|
||||
}
|
||||
html += '</form>';
|
||||
|
|
Loading…
Add table
Reference in a new issue