Manual:$wgSVGMaxSize

Details
Don't scale a SVG to a greater width than this.