Closed jonnitto closed 8 years ago
@jonnitto that's an issue with image-size. I'd submit a pull request fixing it, but the project looks abandonded. I'm going to migrate postcss-assets to calipers. It doesn't have SVG support yet, but is actively developed so I'm going to contribute them.
@jonnitto so I wouldn't expect a fix for this until calipers supports SVG.
@jonnitto finally, the new version of image-size
resolving this issue got released! Should be fixed in Assets 3.0.3, could you verify it works for you?
If I have a svg with a viewbox (e.g "0 0 130 19") the result of size() ist not "130px 19px". It is "100px 100px", because of the attributes width="100%" height="100%".