Create resizable SVG with inkscape

Inkscape currently create fixed size SVG files. Firefox does not resize them when they are set into an object tag. This is a known limitation:

A work around is to add preserveAspectRatio and viewBox to the root svg tag:

preserveAspectRatio="xMinYMin meet"
viewBox="0 0 310 180"

#inkscape, #svg