We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The viewBox property is missing on the svg element. Scaling (inline) svg results in a image which is cut off.
Line 798 qrcode/index.js
qrcode/index.js
var svg = '<?xml version="1.0" standalone="yes"?>' + '<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 ' + width + ' ' + height + '" width="' + width + '" height="' + height + '">';
I may do a pull request later if needed.
The text was updated successfully, but these errors were encountered:
Set viewBox instead of width/height
98967b2
Refs gwuhaolin#3
No branches or pull requests
The viewBox property is missing on the svg element. Scaling (inline) svg results in a image which is cut off.
Line 798
qrcode/index.js
I may do a pull request later if needed.
The text was updated successfully, but these errors were encountered: