mirror of
https://github.com/10h30/display-featured-image-genesis.git
synced 2026-07-19 06:23:22 +09:00
Tweak admin column styles
This commit is contained in:
@@ -159,9 +159,10 @@ class Display_Featured_Image_Genesis_Admin {
|
||||
$screen = get_current_screen();
|
||||
if ( in_array( $screen->base, array( 'edit', 'edit-tags', 'users' ), true ) ) { ?>
|
||||
<style type="text/css">
|
||||
.column-featured_image { width: 105px; }
|
||||
.column-featured_image { width: 80px; }
|
||||
.edit-tags-php .column-featured_image { width: 60px; }
|
||||
.column-featured_image img { margin: 0 auto; height: auto; width: auto; max-width: 60px; max-height: 80px; }
|
||||
@media screen and (max-width: 782px) { .column-featured_image { display: table-cell !important; width: 52px; } .column-featured_image img { margin: 0; max-width: 42px; } }
|
||||
@media screen and (max-width: 782px) { #the-list .column-featured_image { display: table-cell !important; width: 52px; } .column-featured_image img { margin: 0; max-width: 42px; } }
|
||||
</style> <?php
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user