[wp-meta] [Making WordPress.org] #2749: SVG Icons in plugin directory sometimes repeated or cropped

Making WordPress.org noreply at wordpress.org
Tue Apr 18 01:47:01 UTC 2017

#2749: SVG Icons in plugin directory sometimes repeated or cropped
 Reporter:  mattkeys          |      Owner:
     Type:  defect            |     Status:  new
 Priority:  normal            |  Milestone:
Component:  Plugin Directory  |   Keywords:
 I noticed that the icon for my Google Pagespeed Insights for WordPress
 plugin is not displaying very nicely with the new directory facelift. Both
 in search results and on the plugin detail page. Examples:


 In search results, the image is cropped, on the detail page it repeats

 In both cases adding the following CSS to the div with class 'plugin-icon'
 makes it look better:

 background-position: center center;
 background-repeat: no-repeat;

 In the case of the search results page, using background-size "contain"
 instead of "cover" further improves things.

 I can submit a patch although I am struggling to figure out where the
 source of this CSS is for me to create a diff from. Any pointers

Ticket URL: <https://meta.trac.wordpress.org/ticket/2749>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org

More information about the wp-meta mailing list