Skip to content
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

Automatically appended width and height! #102

Open
jonathanlundstrom opened this issue Jun 22, 2017 · 0 comments
Open

Automatically appended width and height! #102

jonathanlundstrom opened this issue Jun 22, 2017 · 0 comments

Comments

@jonathanlundstrom
Copy link

Hello,

I'm working on a new project for a customer and I'm using this library to create a defs spritemap. The svg icons are to be used at various locations and in different sizes but I'm having a lot of issues with scaling them correctly.

All of my SVG-files only have a viewBox and no fixed width and height, yet somehow every time a spritemap is created this library seems to append a fixed height and width for them even though I do not want this. This is preventing me from using the sprites correctly.

How do I go about disabling this behaviour?

Also, how can I select which folder the spritemap gets placed it, I don't want it to create the "svg" folder and name the file "defs.svg".

Thanks,
Jonathan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant