MDL-83144 mod_quiz: style attempt summary flagged icon appropriately.

This commit is contained in:
Paul Holden 2024-09-13 20:47:37 +01:00
parent 09e56f2d1a
commit 9aed047b5d
No known key found for this signature in database
GPG Key ID: A81A96D6045F6164
2 changed files with 1 additions and 5 deletions

View File

@ -804,7 +804,7 @@ class renderer extends plugin_renderer_base {
if ($attemptobj->is_question_flagged($slot)) {
// Quiz has custom JS manipulating these image tags - so we can't use the pix_icon method here.
$flag = html_writer::empty_tag('img', ['src' => $this->image_url('i/flagged'),
'alt' => get_string('flagged', 'question'), 'class' => 'questionflag']);
'alt' => get_string('flagged', 'question'), 'class' => 'questionflag icon ms-2']);
}
if ($attemptobj->can_navigate_to($slot)) {
$row = [html_writer::link($attemptobj->attempt_url($slot),

View File

@ -303,10 +303,6 @@ body.path-mod-quiz table tbody tr.gradedattempt > td.sticky-column {
text-align: center;
}
#page-mod-quiz-summary .questionflag {
vertical-align: text-bottom;
}
#page-mod-quiz-summary #quiz-timer {
text-align: center;
margin-top: 1em;