Skip to content
New issue

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

Margin not working properly #209

Open
Psycarlo opened this issue Jul 11, 2024 · 1 comment
Open

Margin not working properly #209

Psycarlo opened this issue Jul 11, 2024 · 1 comment

Comments

@Psycarlo
Copy link

Reproduce steps:

  1. https://qr-code-styling.com/
  2. Width: 200
  3. Height: 200
  4. Change margin one by one

It only changes around every 10-15 points.

@Psycarlo
Copy link
Author

Psycarlo commented Jul 12, 2024

Maybe we could remove margin entirely so users can handle that on a outside div? So the canvas would always present the the qrcode with no margin, which means all outer points touching the border.

Maybe only to this as default because users might want margin (those who are going to download it).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant