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

fix: material svg icon size fix #49

Closed
wants to merge 1 commit into from

Conversation

dhruvinsh
Copy link
Contributor

in case of material icon's default width calculation doesn't work and mostly render really tiny icon. But they do have width props which can be used here to calculate correct icon size.

in case of material icon's default width calculation doesn't work and
mostly render really tiny icon. But they do have width props which can
be used here to calculate correct icon size.
@caksoylar
Copy link
Owner

A few examples I tried seemed to have worked OK, but it has been a while. Can you share a (or a few) examples that don't currently work?

@dhruvinsh
Copy link
Contributor Author

All the material icons have the same props,

@dhruvinsh
Copy link
Contributor Author

Hi, i was wondering if anything outstanding fpr this? If not is ot possible to review and merge?

@caksoylar caksoylar closed this in 4faedbb Nov 30, 2023
@caksoylar
Copy link
Owner

Hi, I am really sorry, I forgot about this. I investigated it a bit today and I believe this is due to a bug with the aspect ratio calculation, see the linked commit. I think this is the right way to solve it and it seems to work correctly for me, please let me know if you still have such issues.

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

Successfully merging this pull request may close these issues.

2 participants