mirror of
https://github.com/moodle/moodle.git
synced 2025-03-21 08:00:37 +01:00
MDL-70374 qtype_multichoice: improve alignment of choices
This commit is contained in:
parent
4ec279a2f0
commit
4d23573182
@ -104,7 +104,11 @@ abstract class qtype_multichoice_renderer_base extends qtype_with_combined_feedb
|
||||
));
|
||||
}
|
||||
|
||||
$questionnumber = html_writer::span($this->number_in_style($value, $question->answernumbering), 'answernumber');
|
||||
$questionnumber = '';
|
||||
if ($question->answernumbering !== 'none') {
|
||||
$questionnumber = html_writer::span(
|
||||
$this->number_in_style($value, $question->answernumbering), 'answernumber');
|
||||
}
|
||||
$answertext = $question->format_text($ans->answer, $ans->answerformat, $qa, 'question', 'answer', $ansid);
|
||||
$questionanswer = html_writer::div($answertext, 'flex-fill ml-1');
|
||||
|
||||
|
@ -26,6 +26,10 @@
|
||||
width: 14px;
|
||||
}
|
||||
|
||||
.que.multichoice .answer .answernumber {
|
||||
min-width: 1.5em;
|
||||
}
|
||||
|
||||
/* Editing form. */
|
||||
body#page-question-type-multichoice div[id^=fitem_id_][id*=answer_] {
|
||||
background: #eee;
|
||||
|
Loading…
x
Reference in New Issue
Block a user