MDL-78273 gradereport: Feedback modal styling

This commit is contained in:
Mathew May 2023-06-16 08:09:45 +08:00
parent 1b1a15a308
commit e027a0ef03
5 changed files with 14 additions and 2 deletions

View File

@ -92,7 +92,7 @@ class get_feedback extends external_api {
'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]},
];
}

View File

@ -48,7 +48,7 @@
{{/picture}}
</div>
<div class="d-block">
<span class="p-0">
<span class="p-0 font-weight-bold">
{{fullname}}
</span>
{{#additionalfield}}

View File

@ -1177,6 +1177,10 @@ div#dock {
width: 35px;
height: 35px;
}
&.size-50 {
width: 50px;
height: 50px;
}
&.size-64 {
width: 64px;
height: 64px;

View File

@ -33667,6 +33667,10 @@ div#dock {
width: 35px;
height: 35px;
}
.userinitials.size-50 {
width: 50px;
height: 50px;
}
.userinitials.size-64 {
width: 64px;
height: 64px;

View File

@ -33667,6 +33667,10 @@ div#dock {
width: 35px;
height: 35px;
}
.userinitials.size-50 {
width: 50px;
height: 50px;
}
.userinitials.size-64 {
width: 64px;
height: 64px;