gitFoxCode / nuxt-icons

Module for Nuxt allowing pleasant use of svg icons
187 stars 23 forks source link

Use the stroke-width issue #12

Closed imp-oh closed 1 year ago

imp-oh commented 1 year ago

image

The stroke-width attribute is filtered out

imp-oh commented 1 year ago

Before use

<svg viewBox="0 0 1024 1024" width="30" height="40">
  <path fill="none" stroke-linejoin="round" stroke-linecap="round" stroke-width="145.067" stroke="currentColor"
    d="m341.333 170.667 341.334 341.332-341.334 341.335"></path>
</svg>

after use

<svg viewBox="0 0 1024 1024" width="30" height="40">
  <path fill="none" stroke-linejoin="round" stroke-linecap="round" stroke-="145.067" stroke="currentColor"
    d="m341.333 170.667 341.334 341.332-341.334 341.335"></path>
</svg>
gitFoxCode commented 1 year ago

Thanks for your message, I will fix this in the latest version I will be working on from October

gitFoxCode commented 1 year ago

@impohcom New version on nuxt 3.0.0 is already available, your problem should disappear, if still something is wrong please write another issue