MDL-64392 core_question: flexbox compatible separator for question types

* the br tag does not work well in a flexbox context, a 100% with div
works in both clean and boost.
This commit is contained in:
Bas Brands 2018-12-14 16:28:36 +01:00
parent 33a388eff7
commit 02955a84d1

View file

@ -58,7 +58,7 @@ class question_import_form extends moodleform {
if (get_string_manager()->string_exists('pluginname_help', 'qformat_' . $shortname)) { if (get_string_manager()->string_exists('pluginname_help', 'qformat_' . $shortname)) {
$separator .= $OUTPUT->help_icon('pluginname', 'qformat_' . $shortname); $separator .= $OUTPUT->help_icon('pluginname', 'qformat_' . $shortname);
} }
$separator .= '<br>'; $separator .= '<div class="w-100"></div>';
$separators[] = $separator; $separators[] = $separator;
} }