Simplify responsive styles to avoid theme-specific tweaks

This commit is contained in:
Brian Miyaji
2017-12-18 20:02:37 +11:00
parent 76bd4f9df2
commit 7d08b40f9e
5 changed files with 8 additions and 101 deletions

View File

@@ -60,8 +60,7 @@ $labels = $data[0];
$identifier = uniqid( 'playerlist_' );
// If responsive tables are enabled then load the inline css code
if ( true == $responsive ){
$theme_name = wp_get_theme()->get( 'Name' );
sportspress_responsive_tables_css( $labels, $identifier, $theme_name );
sportspress_responsive_tables_css( $labels, $identifier );
}
// Remove the first row to leave us with the actual data
unset( $data[0] );