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

Not circular for diameter > 100px #8

Open
joeptacek opened this issue Jul 29, 2019 · 1 comment
Open

Not circular for diameter > 100px #8

joeptacek opened this issue Jul 29, 2019 · 1 comment

Comments

@joeptacek
Copy link

Using [email protected], when I try

const diameter = 120;
const el = jazzicon(diameter, Math.round(Math.random() * 10000000));

the resulting element has rounded corners but isn't a circle. It looks like paper.js always sets border-radius to '50px'. Instead, should border-radius be '' + diameter / 2 + 'px' or '9999px' or something similar to allow circles > 100px?

@JayWelsh
Copy link

JayWelsh commented Dec 8, 2021

Would be best to open this issue on https://github.com/MetaMask/jazzicon, as this repo is no longer maintained

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

2 participants