-
-
Notifications
You must be signed in to change notification settings - Fork 425
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
Why is viewBox stripped (by default)? #324
Comments
Hello @avwie, you should ask SVGO team about that. |
That is weird, why should I ask them? It is just a library feature of SVGO. Why have you enabled it as default behavior in SVGR, breaking proper scaling? That is the question. It is just a setting of SVGO, but you opted to enable it by default. The question is why? Is there something I am missing? |
I don't want to override the default from SVGO. So I rely on SVGO default in SVGR. |
so what should i do to make proper scaling? |
You can add a SVGO config. |
In the settings for SVGO, the viewBox is stripped by default? What is the reasoning behind this, because it breaks proper scaling. I have difficulty to understand why the viewBox should be stripped in the first place? I have never encountered a situation where I didn't want the viewBox.
The text was updated successfully, but these errors were encountered: