Browse Source

Fixing view in smartphones, now you will see 3 cols instead of 1 col.

Julio Montoya 11 years ago
parent
commit
48a5a4b573
1 changed files with 1 additions and 1 deletions
  1. 1 1
      main/inc/lib/course_home.lib.php

+ 1 - 1
main/inc/lib/course_home.lib.php

@@ -796,7 +796,7 @@ class CourseHome
                             $html .=  $rowDiv;
                         }
 
-                        $html .=  '<div class="col-md-4 course-tool">';
+                        $html .=  '<div class="col-xs-4 col-md-4 course-tool">';
                         $image = (substr($item['tool']['image'], 0, strpos($item['tool']['image'], '.'))).'.png';
 
                         $original_image = Display::return_icon($image, $item['name'], array('id'=>'toolimage_'.$item['tool']['id']), ICON_SIZE_BIG, false);