Fix responsive tables in events page
This commit is contained in:
@@ -25,7 +25,7 @@ if ( !function_exists( 'sportspress_event_details' ) ) {
|
||||
$output = '<h3>' . __( 'Details', 'sportspress' ) . '</h3>';
|
||||
|
||||
$output .= '<div class="sp-table-wrapper">' .
|
||||
'<table class="sp-event-details sp-data-table sp-responsive-table"><tbody>';
|
||||
'<table class="sp-event-details sp-data-table"><tbody>';
|
||||
|
||||
$i = 0;
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ if ( !function_exists( 'sportspress_event_results' ) ) {
|
||||
|
||||
$table_rows .= '<tr class="' . ( $i % 2 == 0 ? 'odd' : 'even' ) . '">';
|
||||
|
||||
$table_rows .= '<td class="column_name">' . get_the_title( $team_id ) . '</td>';
|
||||
$table_rows .= '<td class="data-name">' . get_the_title( $team_id ) . '</td>';
|
||||
|
||||
foreach( $result_labels as $key => $label ):
|
||||
if ( $key == 'name' )
|
||||
|
||||
Reference in New Issue
Block a user