Scaling broken when using SVG

Created on 18 January 2022, over 2 years ago
Updated 25 October 2023, 8 months ago

Problem/Motivation

Currently does not scale media that is an SVG (using SVG Image β†’ ).

Steps to reproduce

  1. Install SVG Image β†’
  2. Create a Media Entity (image)
  3. Add one of the newly created Media entities, and add the SVG
  4. Using CKEditor and the Media Library button insert the SVG
  5. Click on edit and set a static size to the image (100 x 100)
  6. SVG never resizes

Proposed resolution

It looks like SVG images require a viewbox attribute set in the image if we want to set static sizes it.

πŸ› Bug report
Status

Postponed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States j-barnes

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.69.0 2024