Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-30498 user name can overlap user report icon.

  • Loading branch information...
commit 7ef2840ffabbb741921eb16b8de876b760584a31 1 parent bdfd90b
@timhunt timhunt authored
Showing with 4 additions and 8 deletions.
  1. +1 −1  grade/report/grader/lib.php
  2. +3 −7 grade/report/grader/styles.css
View
2  grade/report/grader/lib.php
@@ -632,7 +632,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));
View
10 grade/report/grader/styles.css
@@ -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 {
Please sign in to comment.
Something went wrong with that request. Please try again.