Changeset 9230 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/client/components/plugin-icon/index.jsx
- Timestamp:
- 10/24/2019 06:54:36 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/client/components/plugin-icon/index.jsx
r5024 r9230 34 34 return ( 35 35 <div className="entry-thumbnail"> 36 <div className=" plugin-icon" id={ `plugin-icon-${ slug }` }/>36 <div className="{ `plugin-icon plugin-icon-${ slug }` }" /> 37 37 <style type="text/css"> 38 { ` #plugin-icon-${ slug } { background-image: url('${ icon }'); }` }38 { `.plugin-icon-${ slug } { background-image: url('${ icon }'); }` } 39 39 { icons[ '2x' ] && icon !== icons.default 40 40 // eslint-disable-next-line max-len 41 ? `@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 144dpi) { #plugin-icon-${ slug } { background-image: url('${ icons[ '2x' ] }'); } }`41 ? `@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 144dpi) { .plugin-icon-${ slug } { background-image: url('${ icons[ '2x' ] }'); } }` 42 42 : '' 43 43 }
Note: See TracChangeset
for help on using the changeset viewer.