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
astro-icon
^1.1.4
> [email protected] astro > astro info Astro v4.16.13 Node v20.18.0 System Linux (x64) Package Manager npm Output static Adapter none Integrations @astrojs/tailwind @astrojs/mdx @astrojs/react astro-icon
No response
stroke-width is only set on the element, so some icons do not get the stroke-width explicitly set my the user.
stroke-width to work for any icon in iconify.
When doing something like:
<Icon name="line-md:github-loop" stroke-width={"0.5"} />
It will set the stroke-width on the element instead of the child element for github-loop.
https://stackblitz.com/edit/withastro-astro-c9smrf?file=src%2Fpages%2Findex.astro
The text was updated successfully, but these errors were encountered:
Duplicate of #49 and #211
Sorry, something went wrong.
No branches or pull requests
What version of
astro-icon
are you using?^1.1.4
Astro Info
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
stroke-width is only set on the element, so some icons do not get the stroke-width explicitly set my the user.
What's the expected result?
stroke-width to work for any icon in iconify.
When doing something like:
It will set the stroke-width on the element instead of the child element for github-loop.
Link to Minimal Reproducible Example
https://stackblitz.com/edit/withastro-astro-c9smrf?file=src%2Fpages%2Findex.astro
The text was updated successfully, but these errors were encountered: