MDL-30498 user name can overlap user report icon.

This commit is contained in:
Tim Hunt
2011-12-09 17:57:06 +00:00
parent acb3bf8ac1
commit 4d8a37a0db
2 changed files with 4 additions and 8 deletions
+1 -1
View File
@@ -627,7 +627,7 @@ class grade_report_grader extends grade_report {
$usercell->scope = 'row';
if ($showuserimage) {
$usercell->text = $OUTPUT->container($OUTPUT->user_picture($user), 'userpic');
$usercell->text = $OUTPUT->user_picture($user);
}
$usercell->text .= html_writer::link(new moodle_url('/user/view.php', array('id' => $user->id, 'course' => $this->course->id)), fullname($user));
+3 -7
View File
@@ -269,16 +269,12 @@ table#user-grades td.topleft {
background-color:#fff;
}
.path-grade-report-grader div.userpic {
margin-right:10px;
float:left;
}
.path-grade-report-grader div.userpic img {
.path-grade-report-grader th.user img {
border:3px double #cecece;
vertical-align:middle;
vertical-align:top;
width:2.7em;
height:2.7em;
margin-right:10px;
}
.path-grade-report-grader a.quickedit {