ViewBox settings on the rendered svg

Created on 21 February 2022, almost 3 years ago
Updated 27 September 2024, 3 months ago

Problem/Motivation

When rendering the SVG, no viewBox is defined (only at the symbol). And, without viewBox, the SVG will render with the default dimensions of 300x150 (https://svgwg.org/specs/integration/#svg-css-sizing).

Proposed resolution

I think it would be good to have the original viewBox attribute (if exists) on the template attributes.

Feature request
Status

Closed: outdated

Version

2.0

Component

Code

Created by

🇵🇹Portugal marcofernandes

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024