Closed ghost closed 7 years ago
Working on this.
@andpawlenko Please fire your PR to fix this :+1:
@andpawlenko Regarding your second concern, it's a normal behavior. Without specifying width
and height
while the viewBox
attribute presents, an SVG will scale to their container size. SVGs are fluid.
@hiendv so, the issue may be closed I think :+1:
@andpawlenko Could you provide some tests with floats for your changes. Thank you!
@hiendv okay, wait for pull request
@andpawlenko Love it!
Icon scales to the default value when I set scale between 0 and 1.
I think, the issue is here:
For example:
I'm already fix it in my forked repository: link If my solution is right, it may be able to pull request. All icon sources was rebuilt using the new template on
fix-float-sclae
branch.