• Sometimes the SVGs we get will be exported as “responsive”, with the width/height attributes set to either 100% or not set at all. In both cases, the viewBox attribute is set, and should be used instead.

    I would suggest that the bodhi_svgs_get_dimensions function be modified to parse the viewBox for width/height, in the event the width/height attributes themselves are empty or specified in percentage units.

You must be logged in to reply to this topic.