diff --git a/app/components/page-layout-with-search.js b/app/components/page-layout-with-search.js index 4e4eaaae..9b70a0a3 100644 --- a/app/components/page-layout-with-search.js +++ b/app/components/page-layout-with-search.js @@ -9,9 +9,6 @@ export default Ember.Component.extend(FocusableComponent, { routing: Ember.inject.service('-routing'), focusNode: '#search-input', showCategories: true, - didInsertElement() { - this.focus(); - }, init() { this._super(...arguments); this.get('search').perform(this.get('query')); diff --git a/app/styles/components/_page-layout-with-search.scss b/app/styles/components/_page-layout-with-search.scss index 5a7f775f..303f591c 100644 --- a/app/styles/components/_page-layout-with-search.scss +++ b/app/styles/components/_page-layout-with-search.scss @@ -33,6 +33,10 @@ margin-top: 1.5rem; } + .search-wrapper button { + padding: 0; background: none; + } + .name { color: #70B3DB; font-size: 2rem; diff --git a/app/templates/addons.hbs b/app/templates/addons.hbs index e2147cab..485f27a7 100644 --- a/app/templates/addons.hbs +++ b/app/templates/addons.hbs @@ -1 +1 @@ -{{outlet}} \ No newline at end of file +{{focusing-outlet}} \ No newline at end of file diff --git a/app/templates/admin.hbs b/app/templates/admin.hbs index 3cdcecd5..5dcd32da 100644 --- a/app/templates/admin.hbs +++ b/app/templates/admin.hbs @@ -1,2 +1,2 @@ -{{outlet}} +{{focusing-outlet}} diff --git a/app/templates/application.hbs b/app/templates/application.hbs index 5060fd09..44c3870c 100644 --- a/app/templates/application.hbs +++ b/app/templates/application.hbs @@ -1,6 +1,6 @@