Fix admin column display on mobile

This commit is contained in:
Robin Cornett
2016-02-14 14:46:55 -05:00
parent 40e421560d
commit 4f9fef8ba8
@@ -163,7 +163,7 @@ class Display_Featured_Image_Genesis_Admin {
if ( in_array( $screen->base, array( 'edit', 'edit-tags', 'users' ), true ) ) { ?>
<style type="text/css">
.column-featured_image { width: 105px; }
.column-featured_image img { margin: 0 auto; display: block; height: auto; width: auto; max-width: 60px; max-height: 80px; }
.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 img { margin: 0; } }
</style> <?php
}