Set the svg viewbox to the content boundings.
The SVG element to adjust.
The padding to add around the content bounds. Note that this amount gets added to each side of the svg.
Set the svg viewbox to the content boundings.