natemoo-re / astro-icon

Inline and sprite-based SVGs in Astro made easy!
https://astroicon.dev
Other
996 stars 57 forks source link

SVGs are cropped using local icon file #102

Closed seansmyth closed 1 year ago

seansmyth commented 1 year ago

Hi there,

Just leaving an issue I've come across.

Using local icons that are being saved in /src/icons

The actual svgs (attached) are full shaped and not cropped, but when I used them using the component, they appear cropped.

Can't say I've seen this issue on my previous installation. Not sure why this might be happening now.

close-2 glass plaster rabbit

Screenshot 2023-05-24 at 09 58 54
seansmyth commented 1 year ago

Never mind - I'd added a stroke with CSS and didn't realise.

Ignore me :)