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

angular slick carousel does not respect viewBox of the ng-md-icon #172

Open
olegkotliarsky opened this issue Feb 10, 2017 · 0 comments
Open

Comments

@olegkotliarsky
Copy link

Hi, we recently added angular-slick to our app, and all the custom SVG images (added with ngMdIconService.addShape and ngMdIconService.addViewBox - we use angular-material-icons library) get rendered with viewBox svg attribute "0 0 24 24" while each image has viewBox set separately...

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="91" height="91">...</svg>

Vs. expected:
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 91 91" width="91" height="91">...</svg>

Looking for any suggestion/hint for possible cause.

thank you.

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