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

Modify custom icon size #269

Closed
5 tasks done
coderwyd opened this issue Feb 17, 2023 · 0 comments
Closed
5 tasks done

Modify custom icon size #269

coderwyd opened this issue Feb 17, 2023 · 0 comments

Comments

@coderwyd
Copy link

coderwyd commented Feb 17, 2023

Describe the bug

When I tried to change the size using font-size I found no change in the icon.

<i-inline-async style="font-size: 40px" />

image

Reproduction

https://github.com/antfu/unplugin-icons/blob/main/examples/vite-vue3/App.vue#L44

System Info

  System:
    OS: Windows 10 10.0.19044
    CPU: (16) x64 Intel(R) Core(TM) i7-10700 CPU @ 2.90GHz
    Memory: 5.08 GB / 15.72 GB
  Binaries:
    Node: 16.13.1 - E:\nodejs\node.EXE
    Yarn: 1.22.18 - E:\nodejs\node_global\node_modules\yarn\bin\yarn.CMD
    npm: 8.1.2 - E:\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (44.19041.1266.0), Chromium (110.0.1587.46)
    Internet Explorer: 11.0.19041.1566

Used Package Manager

npm

Validations

  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.
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