Skip to content

Commit 6eb6594

Browse files
committed
Merge pull request #1085 from aragonc/1.10.x
fix css table responsive plataform CT#8150
2 parents b21e587 + 413889a commit 6eb6594

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

app/Resources/public/css/base.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4714,6 +4714,9 @@ div#chat-remote-video video {
47144714
#children .parent .big-icon .sequence-deleted{
47154715
font-size: 12px;
47164716
}
4717+
.form-search{
4718+
padding-bottom: 50px;
4719+
}
47174720
/* INSTALL CHAMILO */
47184721
#page-install .logo{
47194722
text-align: center;

main/inc/lib/sortable_table.class.php

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ public function __construct(
126126
$table_id = $table_name.uniqid();
127127
}
128128
$this->table_id = $table_id;
129-
parent::__construct(array('class' => 'table table-bordered', 'id' => $table_id));
129+
parent::__construct(array('class' => 'data_table table', 'id' => $table_id));
130130
$this->table_name = $table_name;
131131
$this->additional_parameters = array();
132132
$this->param_prefix = $table_name.'_';
@@ -231,9 +231,9 @@ public function get_pager()
231231
*/
232232
public function display()
233233
{
234-
echo '<div class="table-responsive">';
234+
235235
echo $this->return_table();
236-
echo '</div>';
236+
237237
}
238238

239239
/**
@@ -337,7 +337,8 @@ public function return_table()
337337
$html .= '</form>';
338338
}
339339
}
340-
return $html;
340+
341+
return '<div class="table-responsive">' . $html . '</div>';
341342
}
342343

343344
/**

0 commit comments

Comments
 (0)