Merge pull request #3 from lnbits/fix_responsive_QR
make QR responsive on ticket page
This commit is contained in:
commit
13658ceda9
1 changed files with 5 additions and 8 deletions
|
|
@ -11,15 +11,12 @@
|
||||||
and present it for registration!
|
and present it for registration!
|
||||||
</h5>
|
</h5>
|
||||||
<br />
|
<br />
|
||||||
|
<q-responsive :ratio="1" class="q-mb-md" style="max-width: 300px">
|
||||||
<qrcode
|
<qrcode :value="'ticket://{{ ticket_id }}'" :options="{width: 500}"></qrcode>
|
||||||
:value="'ticket://{{ ticket_id }}'"
|
</q-responsive>
|
||||||
:options="{width: 500}"
|
|
||||||
></qrcode>
|
|
||||||
<br />
|
<br />
|
||||||
<q-btn @click="printWindow" color="grey" class="q-ml-auto">
|
<q-btn @click="printWindow" color="grey" class="q-ml-auto">
|
||||||
<q-icon left size="3em" name="print"></q-icon> Print</q-btn
|
<q-icon left size="3em" name="print"></q-icon> Print</q-btn>
|
||||||
>
|
|
||||||
</center>
|
</center>
|
||||||
</q-card-section>
|
</q-card-section>
|
||||||
</q-card>
|
</q-card>
|
||||||
|
|
@ -41,4 +38,4 @@
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue