mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-20 13:34:37 +01:00
Switching to SVG for QR code so it looks OK on higher density display
Co-authored-by: Sebastian Kippe <sebastian@kip.pe>
This commit is contained in:
parent
30d5add2ea
commit
5ab92ed794
2 changed files with 6 additions and 1 deletions
|
@ -207,7 +207,7 @@
|
|||
<div class="payment__scan">
|
||||
<img v-bind:src="srvModel.cryptoImage" class="qr_currency_icon"
|
||||
v-if="scanDisplayQr" />
|
||||
<qrcode v-bind:value="scanDisplayQr" :options="{ width: 256, margin: 0, color: {dark:'#000', light:'#f5f5f7'} }"
|
||||
<qrcode v-bind:value="scanDisplayQr" :options="{ width: 256, margin: 0, color: {dark:'#000', light:'#f5f5f7'} }" tag="svg"
|
||||
v-if="scanDisplayQr">
|
||||
</qrcode>
|
||||
|
||||
|
|
|
@ -9448,6 +9448,11 @@ strong {
|
|||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.payment__scan svg {
|
||||
width: 256px;
|
||||
height: 256px;
|
||||
}
|
||||
|
||||
.payment__scan__checkmark-wrapper {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
|
|
Loading…
Add table
Reference in a new issue