bnomei / kirby3-qrcode

Generate QRCodes easily.
https://forum.getkirby.com/t/plugin-qr-code-field-and-page-method/6798
MIT License
12 stars 3 forks source link

QR Code preview too big #12

Closed dgsiegel closed 2 years ago

dgsiegel commented 2 years ago

I currently set the size of the generated QR code to 800, ie.

"bnomei.qrcode.field" => [
  "margin" => 0,
  "size" => 800,
],

Using that field then in the panel with

qrcode:
  type: qrcode

results in a very large preview that overlaps all the other fields:

image

Setting width: 100%; on the img should resolve this.