vasyabigi / angular-slick

Angular directive for slick-carousel
http://vasyabigi.github.io/angular-slick/
MIT License
500 stars 237 forks source link

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

Open olegkotliarsky opened 7 years ago

olegkotliarsky commented 7 years ago

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.