diff --git a/lib/templates/form_autocomplete_input.mustache b/lib/templates/form_autocomplete_input.mustache index ea4614dcd9a..1b2ec1a7fb4 100644 --- a/lib/templates/form_autocomplete_input.mustache +++ b/lib/templates/form_autocomplete_input.mustache @@ -36,7 +36,10 @@ { "inputID": 1, "suggestionsId": 2, "selectionId": 3, "downArrowId": 4, "placeholder": "Select something" } }} {{#showSuggestions}} - +
+ + +
{{/showSuggestions}} {{^showSuggestions}} diff --git a/theme/boost/scss/moodle/forms.scss b/theme/boost/scss/moodle/forms.scss index 55c3995c676..1a693dcd4da 100644 --- a/theme/boost/scss/moodle/forms.scss +++ b/theme/boost/scss/moodle/forms.scss @@ -323,11 +323,9 @@ fieldset.coursesearchbox label { .form-autocomplete-downarrow { color: $body-color; - position: relative; - top: 0.2em; - left: -1.5em; + top: 0.2rem; + right: 0.5rem; cursor: pointer; - .loading-icon { position: absolute; top: 0; diff --git a/theme/boost/style/moodle.css b/theme/boost/style/moodle.css index 581845feb64..a141a0ffcc4 100644 --- a/theme/boost/style/moodle.css +++ b/theme/boost/style/moodle.css @@ -14861,9 +14861,8 @@ fieldset.coursesearchbox label { .form-autocomplete-downarrow { color: #373a3c; - position: relative; - top: 0.2em; - left: -1.5em; + top: 0.2rem; + right: 0.5rem; cursor: pointer; } .form-autocomplete-downarrow .loading-icon { position: absolute; diff --git a/theme/classic/style/moodle.css b/theme/classic/style/moodle.css index bf7f80e0232..e390c736e03 100644 --- a/theme/classic/style/moodle.css +++ b/theme/classic/style/moodle.css @@ -15118,9 +15118,8 @@ fieldset.coursesearchbox label { .form-autocomplete-downarrow { color: #373a3c; - position: relative; - top: 0.2em; - left: -1.5em; + top: 0.2rem; + right: 0.5rem; cursor: pointer; } .form-autocomplete-downarrow .loading-icon { position: absolute;