Vertical align team logo in table

This commit is contained in:
Brian Miyaji
2014-03-21 01:03:24 +11:00
parent 48924abf72
commit da0da79470
2 changed files with 2 additions and 2 deletions

View File

@@ -60,7 +60,7 @@ if ( !function_exists( 'sportspress_league_table' ) ) {
$output .= '<td class="data-rank">' . ( $i + 1 ) . '</td>';
if ( $r['show_team_logo'] )
$name = get_the_post_thumbnail( $team_id, 'sportspress-fit-icon' ) . ' ' . $name;
$name = get_the_post_thumbnail( $team_id, 'sportspress-fit-icon', array( 'class' => 'team-logo' ) ) . ' ' . $name;
if ( $r['link_posts'] ):
$permalink = get_post_permalink( $team_id );

View File

@@ -26,7 +26,7 @@
content: "\f140";
position: absolute;
}
.sp-data-table .data-name .logo {
.sp-data-table .team-logo {
vertical-align: middle;
height: 2.5em;
width: auto;