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?
The generated SVG file forces dimensions by
widthandheightattributes. This makes it impossible to resize it easily in some interactive contexts. Would you be happy to accept a PR addingviewBoxargument which allows the SVG to fit to the available space while preserving the dimensions of content?