I have some SVG files that specifies width and height as well as viewbox like this:
width
height
viewbox
img/logo.svg ...
This setup worked for me.