simple-qrcode icon indicating copy to clipboard operation
simple-qrcode copied to clipboard

responsive size

Open zebamba opened this issue 3 years ago • 3 comments

The size generates HTML width and height, the problem is image is not responsive.

Would be possible to set size in a way to be responsive?

zebamba avatar Apr 16 '21 16:04 zebamba

The SVG should be responsive. How are you making the qrcodes?

SimplyCorey avatar Apr 29 '21 11:04 SimplyCorey

Issue is a hardcoded width="100" and height="100" in the svg element.

youmustwearface avatar Apr 29 '21 18:04 youmustwearface

I am generating the QR code following the docs instructions.

    {!! QrCode::size(300)->generate($url); !!}

@youmustwearface stated the issue is the hardcoded HTML attribute.

zebamba avatar Apr 30 '21 01:04 zebamba

Feel free to open a PR.

SimplyCorey avatar Apr 05 '23 18:04 SimplyCorey