mirror of
https://github.com/moodle/moodle.git
synced 2025-02-24 12:03:12 +01:00
MDL-83144 mod_quiz: style attempt summary flagged icon appropriately.
This commit is contained in:
parent
09e56f2d1a
commit
9aed047b5d
@ -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),
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user