|
Add viewBox attribute to icons.
This branch adds the viewBox attribute to the default icons, as well as any icon being ingested (if it does not exist; https://code.launchpad.net/~makyo/juju-core/enable-viewboxing/+merge/180354 adds to the charm documentation the steps required to enable viewboxing from Inkscape). This allows icons to be scaled within a viewport (such as an HTML img tag or an SVG image tag) rather than clipped in both FF and IE10. This will only affect new charms, and some additional work will be required within the GUI to close this bug (https://bugs.launchpad.net/juju-gui/+bug/1207035)
https://code.launchpad.net/~makyo/charmworld/svg-viewbox/+merge/180400
(do not edit description out of merge proposal)
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+53 lines, -1 line) |
Patch |
 |
M |
.lbox.check
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A |
[revision details]
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
charmworld/models.py
|
View
|
1
|
2 chunks |
+21 lines, -0 lines |
0 comments
|
Download
|
 |
M |
charmworld/static/img/category-app-servers-bw.svg
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
charmworld/static/img/category-applications-bw.svg
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
charmworld/static/img/category-cache-proxy-bw.svg
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
charmworld/static/img/category-databases-bw.svg
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
charmworld/static/img/category-file-servers-bw.svg
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
charmworld/static/img/category-misc-bw.svg
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
charmworld/static/img/charm_160.svg
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
charmworld/tests/test_models.py
|
View
|
1
|
1 chunk |
+22 lines, -1 line |
0 comments
|
Download
|
Total messages: 4
|