-
Notifications
You must be signed in to change notification settings - Fork 254
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Passing --svg-dimattrs results in merged icons #138
Comments
Thanks for reporting this @tomekbuszewski, I'll have a look into it as soon as I find some time! |
We just need to add |
@Johnius In how far does your need correspond to @tomekbuszewski's one? As far as I understood him, he's just not able to suppress the output of dimensions using the CLI tool. |
I've made a screenshot of how it looks on preview, when I add Perhaps I just didn't understand some commands and/or I am using them in wrong combination. But this doesn't seem like a proper output. |
@jkphl As far as I understood — he wants to disable explicit setting of sprite dimensions in resulting svg. |
OK guys, I think I finally got the problem. ;) What seems to be buggy: The example document should either ignore that the dimension attributes have been disabled (i.e. a dimension attribute enabled sprite should be used for the example document), or the background size should be set as described. In general, however, the result of |
Hi,
first of all - great tool ;-)
But I found a problem. I use cli for my needs, this is my code:
svg-sprite --css-render-scss-dest _sprite.scss --css-example -cD . --cscss _img/*.svg
It works great. But when I add
--svg-dimattrs=false
, every generated icon looks the same (only scaled).The text was updated successfully, but these errors were encountered: