diff --git a/question/type/multichoice/renderer.php b/question/type/multichoice/renderer.php index 3c22b3d3fd1..e6516b81a6b 100644 --- a/question/type/multichoice/renderer.php +++ b/question/type/multichoice/renderer.php @@ -113,7 +113,7 @@ abstract class qtype_multichoice_renderer_base extends qtype_with_combined_feedb $choice = html_writer::div($choicetext, 'flex-fill ml-1'); $radiobuttons[] = $hidden . html_writer::empty_tag('input', $inputattributes) . - html_writer::div($choicenumber . $choice, 'd-flex w-100', [ + html_writer::div($choicenumber . $choice, 'd-flex w-auto', [ 'id' => $inputattributes['id'] . '_label', 'data-region' => 'answer-label', ]); diff --git a/theme/boost/scss/moodle/question.scss b/theme/boost/scss/moodle/question.scss index f545b6ebbda..2b603afccdd 100644 --- a/theme/boost/scss/moodle/question.scss +++ b/theme/boost/scss/moodle/question.scss @@ -656,6 +656,10 @@ a#hidebankcmd { display: inline; } +.que .content .answer div[data-region="answer-label"] .mediaplugin { + width: 400px; +} + body.path-question-type .mform fieldset.hidden { padding: 0; margin: 0.7em 0 0; diff --git a/theme/boost/style/moodle.css b/theme/boost/style/moodle.css index 6810474d814..00f26e0bcae 100644 --- a/theme/boost/style/moodle.css +++ b/theme/boost/style/moodle.css @@ -16581,6 +16581,9 @@ a#hidebankcmd { .que label { display: inline; } +.que .content .answer div[data-region="answer-label"] .mediaplugin { + width: 400px; } + body.path-question-type .mform fieldset.hidden { padding: 0; margin: 0.7em 0 0; } diff --git a/theme/classic/style/moodle.css b/theme/classic/style/moodle.css index e57d9d20e3f..ef5babe5def 100644 --- a/theme/classic/style/moodle.css +++ b/theme/classic/style/moodle.css @@ -16581,6 +16581,9 @@ a#hidebankcmd { .que label { display: inline; } +.que .content .answer div[data-region="answer-label"] .mediaplugin { + width: 400px; } + body.path-question-type .mform fieldset.hidden { padding: 0; margin: 0.7em 0 0; }