Skip to content

Commit

Permalink
Merge branch 'MDL-59632_master' of git://github.com/dmonllao/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
danpoltawski committed Jul 31, 2017
2 parents 726ad1b + ad382c6 commit 6cc8b0a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/outputrenderers.php
Original file line number Diff line number Diff line change
Expand Up @@ -3176,7 +3176,7 @@ public function search_box($id = false) {
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);
Expand Down
1 change: 1 addition & 0 deletions theme/boost/scss/moodle/search.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@

.search-input-wrapper > form > input {
margin: 0;
height: 23px;
}

.search-input-wrapper form.expanded {
Expand Down

0 comments on commit 6cc8b0a

Please sign in to comment.