Skip to content

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

@olegkotliarsky

Description

@olegkotliarsky

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions