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
Viewbox #162
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am often fighting positioning of icons. I have noticed this library has a viewbox always set to 0 0 32 32 (https://github.com/carbon-design-system/carbon-icons-svelte/blob/master/src/template.ts#L19) but some icons have a svg with 0 0 16 16.
Examples of these are status icons like circle-stroke, circle-fill, caution, etc.
It is problematic because the icons are hard to center like this.
Correct example of such icon svg straight from https://carbondesignsystem.com/guidelines/icons/library/
Incorrect example of svelte icon
The text was updated successfully, but these errors were encountered: