Charm icon template doesn't scale correctly
Bug #1421280 reported by
Martin Taylor
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-gui |
Triaged
|
High
|
Anthony Dillon |
Bug Description
The Charms icon template at https:/
width="96"
height="96"
With these attributes in place, any svg that is created using Inkscape based on this icon template will not scale elastically and will not render at the correct size in the Juju canvas.
These attributes need to be replaced with a viewbox attribute as follows:
viewBox="0 0 96 96"
With that change, the icon will scale correctly.
affects: | juju-core → juju-gui |
To post a comment you must log in.
Thanks, I believe we add the viewbox when we ingest charms and we've started supporting them in bundles in code that's in trunk.
Assigning over to UX to update the template though please let me know if you hit the issue in production.