Skip to content

Commit

Permalink
fix css table responsive plataform CT#8150
Browse files Browse the repository at this point in the history
  • Loading branch information
aragonc committed Mar 22, 2016
1 parent b21e587 commit 413889a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
3 changes: 3 additions & 0 deletions app/Resources/public/css/base.css
Expand Up @@ -4714,6 +4714,9 @@ div#chat-remote-video video {
#children .parent .big-icon .sequence-deleted{
font-size: 12px;
}
.form-search{
padding-bottom: 50px;
}
/* INSTALL CHAMILO */
#page-install .logo{
text-align: center;
Expand Down
9 changes: 5 additions & 4 deletions main/inc/lib/sortable_table.class.php
Expand Up @@ -126,7 +126,7 @@ public function __construct(
$table_id = $table_name.uniqid();
}
$this->table_id = $table_id;
parent::__construct(array('class' => 'table table-bordered', 'id' => $table_id));
parent::__construct(array('class' => 'data_table table', 'id' => $table_id));
$this->table_name = $table_name;
$this->additional_parameters = array();
$this->param_prefix = $table_name.'_';
Expand Down Expand Up @@ -231,9 +231,9 @@ public function get_pager()
*/
public function display()
{
echo '<div class="table-responsive">';

echo $this->return_table();
echo '</div>';

}

/**
Expand Down Expand Up @@ -337,7 +337,8 @@ public function return_table()
$html .= '</form>';
}
}
return $html;

return '<div class="table-responsive">' . $html . '</div>';
}

/**
Expand Down

0 comments on commit 413889a

Please sign in to comment.