Skip to content

Commit

Permalink
Fix style of drop down menus
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean-Michel Vedrine committed May 21, 2018
1 parent dd40825 commit 9a29d5c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion renderer.php
Expand Up @@ -271,7 +271,7 @@ public function get_part_formulation(question_attempt $qa, question_display_opti
}
$select = html_writer::select($choices, $inputname,
$currentanswer, array('' => ''), $inputattributes);
$output = html_writer::start_tag('span', array('class' => 'formulaspart'));
$output = html_writer::start_tag('span', array('class' => 'formulas_menu'));
$output .= html_writer::tag('label', get_string('answer'),
array('class' => 'subq accesshide', 'for' => $inputattributes['id']));
$output .= $select;
Expand Down
6 changes: 6 additions & 0 deletions styles.css
Expand Up @@ -93,6 +93,12 @@
padding-bottom: 0;
}

.que.formulas .formulation .formulas_menu {
display: inline;
margin: 0 0 1.2em 0;
padding-bottom: 0;
}

.que.formulas .formulas_mark {
display: inline;
}
Expand Down
4 changes: 2 additions & 2 deletions version.php
Expand Up @@ -25,14 +25,14 @@
defined('MOODLE_INTERNAL') || die();

$plugin->component = 'qtype_formulas';
$plugin->version = 2018052100;
$plugin->version = 2018052101;

$plugin->cron = 0;
$plugin->requires = 2015111600;
$plugin->dependencies = array(
'qbehaviour_adaptive' => 2015111600,
'qbehaviour_adaptivemultipart' => 2014092500,
);
$plugin->release = '4.61 for Moodle 3.0 to 3.5';
$plugin->release = '4.62 for Moodle 3.0 to 3.5';

$plugin->maturity = MATURITY_STABLE;

0 comments on commit 9a29d5c

Please sign in to comment.