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

@@ -25,7 +25,7 @@ $defaults = array(
extract( $defaults, EXTR_SKIP );
$output = '<div class="sp-table-wrapper">';
$output = '<div class="sp-table-wrapper sp-scrollable-table-wrapper">';
if ( $show_caption ):
$output .= '<h4 class="sp-table-caption"><a href="' . get_post_permalink( $id ) . '">' . get_the_title( $id ) . '</a></h4>';
@@ -102,9 +102,9 @@ endforeach;
$output .= '</tbody>' . '</table>';
$output .= '</div>';
if ( $show_full_table_link )
$output .= '<a class="sp-league-table-link sp-view-all-link" href="' . get_permalink( $id ) . '">' . SP()->text->string('View full table') . '</a>';
$output .= '</div>';
echo $output;