Changeset 3399
- Timestamp:
- 06/17/2016 09:04:33 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-template.php
r3395 r3399 238 238 $id = "plugin-icon-{$plugin_slug}"; 239 239 $html = "<style type='text/css'>"; 240 $html .= "#{$id} { width:128px; height:128px; background-image: url('{$icon}'); background-size:128px128px; }";240 $html .= "#{$id} { background-image: url('{$icon}'); } .plugin-icon { background-size: 128px 128px; height: 128px; width: 128px; }"; 241 241 if ( ! empty( $icon_2x ) && ! $generated ) { 242 242 $html .= "@media only screen and (-webkit-min-device-pixel-ratio: 1.5) { #{$id} { background-image: url('{$icon_2x}'); } }";
Note: See TracChangeset
for help on using the changeset viewer.