diff --git a/main/css/base.css b/main/css/base.css
index 46464a3df5..0bf9d9a194 100644
--- a/main/css/base.css
+++ b/main/css/base.css
@@ -242,10 +242,6 @@ a.tag {
margin-bottom:10px;
}
-.course_item {
- padding-bottom: 40px;
-}
-
/* user_portal course status icon */
.coursestatusicons {
border: 0px solid #000;
diff --git a/main/inc/lib/course.lib.php b/main/inc/lib/course.lib.php
index 5b55e9e13e..6ed194006b 100644
--- a/main/inc/lib/course.lib.php
+++ b/main/inc/lib/course.lib.php
@@ -2718,28 +2718,24 @@ class CourseManager {
*/
public function course_item_html($params, $is_sub_content = false) {
$html = '';
- $class = "well course_item";
+ $class = "well";
if ($is_sub_content) {
$class = "";
- }
-
- //$html .= '
';
- // $html .= '
';
- $html .= '
';
- $html .= '
';
- $html .= '
'.$params['icon'].'
';
- $html .= '
';
- $html .= '
'.$params['title'].$params['notifications'].'
';
- if (!empty($params['teachers'])) {
- $html .= ''.$params['teachers'].'
';
- }
- if (!empty($params['coaches'])) {
- $html .= ''.$params['coaches'].'
';
- }
- $html .= '';
- $html .= '
'.$params['right_actions'].'
';
- $html .= '
';
- // $html .= '
';
+ }
+ $html .= '
';
+ $html .= '
';
+ $html .= '
'.$params['icon'].'
';
+ $html .= '
';
+ $html .= '
'.$params['title'].$params['notifications'].'
';
+ if (!empty($params['teachers'])) {
+ $html .= ''.$params['teachers'].'
';
+ }
+ if (!empty($params['coaches'])) {
+ $html .= ''.$params['coaches'].'
';
+ }
+ $html .= '';
+ $html .= '
'.$params['right_actions'].'
';
+ $html .= '
';
$html .= '
';
return $html;
}