diff --git a/lib/outputrenderers.php b/lib/outputrenderers.php index 43c6a9c16c4..011fc35f740 100644 --- a/lib/outputrenderers.php +++ b/lib/outputrenderers.php @@ -3210,7 +3210,7 @@ EOD; array('role' => 'button', 'tabindex' => 0)); $formattrs = array('class' => 'search-input-form', 'action' => $CFG->wwwroot . '/search/index.php'); $inputattrs = array('type' => 'text', 'name' => 'q', 'placeholder' => get_string('search', 'search'), - 'size' => 13, 'tabindex' => -1, 'id' => 'id_q_' . $id); + 'size' => 13, 'tabindex' => -1, 'id' => 'id_q_' . $id, 'class' => 'form-control'); $contents = html_writer::tag('label', get_string('enteryoursearchquery', 'search'), array('for' => 'id_q_' . $id, 'class' => 'accesshide')) . html_writer::tag('input', '', $inputattrs); diff --git a/theme/boost/scss/moodle/search.scss b/theme/boost/scss/moodle/search.scss index a125f5d92e0..615d18d0330 100644 --- a/theme/boost/scss/moodle/search.scss +++ b/theme/boost/scss/moodle/search.scss @@ -36,6 +36,7 @@ .search-input-wrapper > form > input { margin: 0; + height: 23px; } .search-input-wrapper form.expanded {