Vertical align team logo in table
This commit is contained in:
@@ -60,7 +60,7 @@ if ( !function_exists( 'sportspress_league_table' ) ) {
|
|||||||
$output .= '<td class="data-rank">' . ( $i + 1 ) . '</td>';
|
$output .= '<td class="data-rank">' . ( $i + 1 ) . '</td>';
|
||||||
|
|
||||||
if ( $r['show_team_logo'] )
|
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'] ):
|
if ( $r['link_posts'] ):
|
||||||
$permalink = get_post_permalink( $team_id );
|
$permalink = get_post_permalink( $team_id );
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
content: "\f140";
|
content: "\f140";
|
||||||
position: absolute;
|
position: absolute;
|
||||||
}
|
}
|
||||||
.sp-data-table .data-name .logo {
|
.sp-data-table .team-logo {
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
height: 2.5em;
|
height: 2.5em;
|
||||||
width: auto;
|
width: auto;
|
||||||
|
|||||||
Reference in New Issue
Block a user