sapegin / grunt-webfont

SVG to webfont converter for Grunt
MIT License
1.11k stars 210 forks source link

Added regex to remove width and height attribute from svg if present … #368

Closed web-mi closed 7 years ago

web-mi commented 7 years ago

…to get full width icons on normalize

I ran into a problem with the width of some svg files. They were not streched over the full width because they have a width and height attribute in the svg tag. The viewbox attribute isn't a problem but removing the width and the height attribute fixed that problem for me.

alampros commented 7 years ago

Thanks!