Support

Account

Home Forums ACF PRO Image minimum width/height and SVGs Reply To: Image minimum width/height and SVGs

  • It turns out it’s the viewBox parameter that’s being used to calculate the SVG’s width and height. That’s incorrect as the viewBox simply defines the base rectangle and ratio. Only when an SVG has explicit width and height parameters should it be treated as a static size.