Ghost/ghost/admin/app/components/modals/search.hbs
Kevin Ansfield d3cebeec50 Refactored search modal
refs https://github.com/TryGhost/Team/issues/559

- changed modal to use new modal pattern
- fixes padding jump when opening due to improved animation behaviour not using duplicated elements
2022-01-11 17:59:48 +00:00

6 lines
261 B
Handlebars

<div class="modal-content">
<div class="gh-nav-search-modal" {{on "click" this.focusFirstInput}}>
<GhSearchInput class="gh-nav-search-input" @onSelected={{@close}} />
<div class="gh-search-tips">Open with Ctrl/⌘ + K</div>
</div>
</div>