MDL-86339 qtype_numeric: Display units dropdown on the same line

This commit is contained in:
Rajneel Totaram
2025-08-27 16:24:39 +12:00
parent 5764f8ee38
commit facdd9c203
+1 -1
View File
@@ -104,7 +104,7 @@ class qtype_numerical_renderer extends qtype_renderer {
'menu' . $qa->get_qt_field_name('unit'), false, array('class' => 'accesshide'));
$unitchoice .= html_writer::select($question->ap->get_unit_options(),
$qa->get_qt_field_name('unit'), $selectedunit, array(''=>'choosedots'),
array('disabled' => $options->readonly));
['disabled' => $options->readonly, 'class' => 'd-inline-block']);
}
if ($question->ap->are_units_before()) {