davidshimjs/qrcodejs

There is no option to put padding

venkatesh-alivenow opened this issue · 3 comments

We are not able to put padding around. It is not working properly without padding.

<div id="qrcode" style="padding:2rem"></div>

<div id="qrcode" style="padding:2rem"></div>

It would be useful if the generated image had custom padding, so you could right-click to save the image with the QR code, doing "save as image."
The proposed solution adds padding to the div containing the QrCode but if you want to save as an image the padding is not saved with it.