Opened 8 years ago
Closed 7 years ago
#2646 closed enhancement (fixed)
SVG icons should be used in preference to 128/256 images
Reported by: | dd32 | Owned by: | obenland |
---|---|---|---|
Milestone: | Plugin Directory v3.0 | Priority: | normal |
Component: | Plugin Directory | Keywords: | needs-patch |
Cc: |
Description
It appears that the plugin directory uses the 128/256 images in preference to the SVG icons if they exist.
This isn't a regression from the previous plugin directory, the CSS generated for an example plugin icon is the following:
<style type='text/css'> #plugin-icon-easy-widget-columns { width:128px; height:128px; background-image: url(//ps.w.org/easy-widget-columns/assets/icon-128x128.png?rev=1612266); background-size:128px 128px; } @media only screen and (-webkit-min-device-pixel-ratio: 1.5) { #plugin-icon-easy-widget-columns { background-image: url(//ps.w.org/easy-widget-columns/assets/icon-256x256.png?rev=1612266); } } </style>}}}
Change History (4)
Note: See
TracTickets for help on using
tickets.
+1