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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preserve viewbox #123

Closed
Aybee5 opened this issue Oct 4, 2023 · 3 comments
Closed

Preserve viewbox #123

Aybee5 opened this issue Oct 4, 2023 · 3 comments

Comments

@Aybee5
Copy link

Aybee5 commented Oct 4, 2023

#120 mentions a way to preserve 'viewbox', I've spent some time experimenting with how to safeguard that before finally seeing the PR. It would be helpful if the PR got merged 馃檹馃従

@jpkleemans
Copy link
Owner

Thanks for mentioning it! I'll merge it soon, please follow the progress at the PR

@MickL
Copy link

MickL commented Jan 5, 2024

Has this been published @jpkleemans ? I am on 5.1.0 and viewbox is not preserved.

@C-gotoh
Copy link

C-gotoh commented Feb 12, 2024

@MickL The mentioned PR just adds documentation how to change the configuration to preserve the viewBox, it does not need to be merged for you to apply it. Unfortunately the default setting used in the svgo library won't change in the near future.

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

4 participants