From 526cf2e7d99b58eac606ce798d452759fa2bb454 Mon Sep 17 00:00:00 2001 From: dongsheng Date: Tue, 28 Jul 2009 08:54:26 +0000 Subject: [PATCH] "MDL-19839, resize user picture in comments api" --- lib/commentlib.php | 1 + theme/standard/styles_layout.css | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/commentlib.php b/lib/commentlib.php index fb49a9f5fa..2b9a38db83 100644 --- a/lib/commentlib.php +++ b/lib/commentlib.php @@ -396,6 +396,7 @@ EOD; $userpic->user = $user; $userpic->courseid = $this->course->id; $userpic->link = true; + $userpic->size = 18; $userpic->alttext = true; $c->avatar = $OUTPUT->user_picture($userpic); if (($USER->id == $c->userid) || !empty($candelete)) { diff --git a/theme/standard/styles_layout.css b/theme/standard/styles_layout.css index 747b24fa1e..1e2dab90ae 100644 --- a/theme/standard/styles_layout.css +++ b/theme/standard/styles_layout.css @@ -5572,10 +5572,6 @@ wikiadminactions { width: 20px; float:left; } -.comment-userpicture img.image{ - width: 18px; - height: 18px; -} .comment-content{ margin-left: 22px; } -- 2.39.5