Permalink
Browse files

MDL-30498 user name can overlap user report icon.

  • Loading branch information...
1 parent acb3bf8 commit 4d8a37a0db926661bc3c66ac350cbb0123a004bf @timhunt timhunt committed Nov 28, 2011
Showing with 4 additions and 8 deletions.
  1. +1 −1 grade/report/grader/lib.php
  2. +3 −7 grade/report/grader/styles.css
@@ -627,7 +627,7 @@ public function get_left_rows() {
$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));
@@ -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 {

0 comments on commit 4d8a37a

Please sign in to comment.