Changeset 1455
- Timestamp:
- 03/26/2015 06:27:55 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/theme-directory/admin-edit.php
r1442 r1455 329 329 330 330 /** 331 * Better styles for our custom columns. 332 */ 333 function wporg_themes_custom_columns_style() { 334 if ( 'repopackage' !== $GLOBALS['post_type'] ) { 335 return; 336 } 337 338 wp_add_inline_style( 'wp-admin', ' 339 .fixed .column-version, 340 .fixed .column-ticket { 341 width: 10%; 342 } 343 344 @media screen and ( max-width: 782px ) { 345 .fixed .column-version, 346 .fixed .column-theme-url, 347 .fixed .column-author-url, 348 .fixed .column-ticket { 349 display: none; 350 } 351 } 352 ' ); 353 } 354 add_action( 'admin_print_styles-edit.php', 'wporg_themes_custom_columns_style' ); 355 356 /** 331 357 * Meta box to choose which version is live. 332 358 */
Note: See TracChangeset
for help on using the changeset viewer.