Fix frontend scrollable table styling

This commit is contained in:
Brian Miyaji
2014-05-09 18:56:54 +10:00
parent b9004101c1
commit 11fc488992
11 changed files with 27 additions and 23 deletions

View File

@@ -33,7 +33,7 @@ if ( empty( $results ) )
return false;
foreach( $results as $team_id => $result ):
if ( sp_array_value( $result, 'outcome', '-1' ) != '-1' ):
if ( count( array_filter( $results ) ) ):
if ( $show_outcomes ):
$outcomes = array();
@@ -85,7 +85,7 @@ else:
$output .= '<h3>' . SP()->text->string('Team Results') . '</h3>';
$output .= '<div class="sp-table-wrapper">' .
$output .= '<div class="sp-table-wrapper sp-scrollable-table-wrapper">' .
'<table class="sp-event-results sp-data-table sp-responsive-table"><thead>' .
'<th class="data-name">' . SP()->text->string('Team') . '</th>';
foreach( $result_labels as $key => $label ):