Skip to content

Commit

Permalink
MDL-78273 gradereport: Feedback modal styling
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocolate-lightning committed Jun 20, 2023
1 parent 1b1a15a commit e027a0e
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion grade/classes/external/get_feedback.php
Expand Up @@ -92,7 +92,7 @@ public static function execute(int $courseid, int $userid, int $itemid): array {
'feedbacktext' => $grade->feedback,
'title' => $gradeitem->get_name(true),
'fullname' => fullname($user),
'picture' => $OUTPUT->user_picture($user, ['size' => 35, 'link' => false]),
'picture' => $OUTPUT->user_picture($user, ['size' => 50, 'link' => false]),
'additionalfield' => empty($extrafields) ? '' : $user->{$extrafields[0]},
];
}
Expand Down
2 changes: 1 addition & 1 deletion grade/templates/feedback_modal.mustache
Expand Up @@ -48,7 +48,7 @@
{{/picture}}
</div>
<div class="d-block">
<span class="p-0">
<span class="p-0 font-weight-bold">
{{fullname}}
</span>
{{#additionalfield}}
Expand Down
4 changes: 4 additions & 0 deletions theme/boost/scss/moodle/modules.scss
Expand Up @@ -1177,6 +1177,10 @@ div#dock {
width: 35px;
height: 35px;
}
&.size-50 {
width: 50px;
height: 50px;
}
&.size-64 {
width: 64px;
height: 64px;
Expand Down
4 changes: 4 additions & 0 deletions theme/boost/style/moodle.css
Expand Up @@ -33667,6 +33667,10 @@ div#dock {
width: 35px;
height: 35px;
}
.userinitials.size-50 {
width: 50px;
height: 50px;
}
.userinitials.size-64 {
width: 64px;
height: 64px;
Expand Down
4 changes: 4 additions & 0 deletions theme/classic/style/moodle.css
Expand Up @@ -33667,6 +33667,10 @@ div#dock {
width: 35px;
height: 35px;
}
.userinitials.size-50 {
width: 50px;
height: 50px;
}
.userinitials.size-64 {
width: 64px;
height: 64px;
Expand Down

0 comments on commit e027a0e

Please sign in to comment.