Skip to content

Setting viewBox on SVG #5

@krassowski

Description

@krassowski

The generated SVG file forces dimensions by width and height attributes. This makes it impossible to resize it easily in some interactive contexts. Would you be happy to accept a PR adding viewBox argument which allows the SVG to fit to the available space while preserving the dimensions of content?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions