Browse Source

fix css table responsive plataform CT#8150

Alex Aragon 9 years ago
parent
commit
0ef7fe298d
2 changed files with 8 additions and 4 deletions
  1. 3 0
      app/Resources/public/css/base.css
  2. 5 4
      main/inc/lib/sortable_table.class.php

+ 3 - 0
app/Resources/public/css/base.css

@@ -4719,6 +4719,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;

+ 5 - 4
main/inc/lib/sortable_table.class.php

@@ -126,7 +126,7 @@ class SortableTable extends HTML_Table
             $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.'_';
@@ -231,9 +231,9 @@ class SortableTable extends HTML_Table
      */
     public function display()
     {
-        echo '<div class="table-responsive">';
+        
         echo $this->return_table();
-        echo '</div>';
+        
     }
 
     /**
@@ -337,7 +337,8 @@ class SortableTable extends HTML_Table
                 $html .= '</form>';
             }
         }
-        return $html;
+        
+        return '<div class="table-responsive">' . $html . '</div>';
     }
 
     /**