Skip to content

SVG files with declared width and height render incorrectlyΒ #333

@ohmycthulhu

Description

@ohmycthulhu

When SVG file has viewBox, width, and height attributes, manipulating using CSS styles are impossible (path is not contained in svg element). This behavior started after upgrading from 2.1.0 to 3.0.3.

When all attributes are present:
image
image

When only viewBox is present:
image
image

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