Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Remove width and height attributes from SVGs. Update SVG dimensions to use pixel units.#413

Closed
bartTC wants to merge 2 commits into9.xlincolnloop/python-qrcode:9.xfrom
svg-remove-dimensionslincolnloop/python-qrcode:svg-remove-dimensionsCopy head branch name to clipboard
Closed

Remove width and height attributes from SVGs. Update SVG dimensions to use pixel units.#413
bartTC wants to merge 2 commits into9.xlincolnloop/python-qrcode:9.xfrom
svg-remove-dimensionslincolnloop/python-qrcode:svg-remove-dimensionsCopy head branch name to clipboard

Conversation

@bartTC
Copy link
Member

@bartTC bartTC commented Jul 26, 2025

Remove width and height attributes from SVGs, use viewBox instead. Update SVG dimensions to use pixel units.

Fixes #351.

…ad. Update SVG dimensions to use pixel units. Add regression test to validate changes.
@bartTC bartTC changed the title Remove width and height attributes from SVGs, use viewBox instead. Update SVG dimensions to use pixel units. Add regression test to validate changes. [v9.0] Remove width and height attributes from SVGs. Update SVG dimensions to use pixel units. Jul 26, 2025
@bartTC bartTC self-assigned this Jul 26, 2025
@bartTC bartTC changed the base branch from main to 9.x July 26, 2025 11:49
@bartTC bartTC closed this Jul 26, 2025
@bartTC bartTC changed the title [v9.0] Remove width and height attributes from SVGs. Update SVG dimensions to use pixel units. Remove width and height attributes from SVGs. Update SVG dimensions to use pixel units. Jul 26, 2025
@bartTC bartTC mentioned this pull request Jul 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SVG without height and width

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.