|
9 | 9 | <p class="visually-hidden" id="search-hint">Results will be shown and updated as you type.</p> |
10 | 10 | <div class="search__inner-input-wrapper"> |
11 | 11 | <input type="search" id="search" class="search__input" autocomplete="off" aria-describedby="search-hint" pattern="\S+"> |
| 12 | + <div id="search-results" class="search-results"></div> |
| 13 | + <button class="search__clear-btn" id="search__clear-btn" hidden> |
| 14 | + <span class="visually-hidden">Clear search</span> |
| 15 | + <svg width="12" height="12" viewBox="0 0 12 12" fill="none" aria-hidden="true" focusable="false"> |
| 16 | + <path d="M9 3L3 9M3 3L9 9" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" /> |
| 17 | + </svg> |
| 18 | + </button> |
12 | 19 | <a class="search_powered-by-wrapper" |
13 | 20 | href="https://www.algolia.com/developers/?utm_source=eslint&utm_medium=referral&utm_content=powered_by&utm_campaign=docsearch" target="_blank" |
14 | 21 | rel="noopener noreferrer"> |
15 | 22 | <div class="search__powered-by"> |
16 | | - <span class="powered-by-text">Powered by</span> |
| 23 | + <span class="powered_by-text">Powered by</span> |
17 | 24 | <svg width="77" height="19" aria-label="Algolia" role="img" id="Layer_1" xmlns="http://www.w3.org/2000/svg" |
18 | 25 | viewBox="0 0 2196.2 500"> |
19 | 26 | <path class="algolia-logo" |
|
44 | 51 | </svg> |
45 | 52 | </div> |
46 | 53 | </a> |
47 | | - <button class="search__clear-btn" id="search__clear-btn" hidden> |
48 | | - <span class="visually-hidden">Clear search</span> |
49 | | - <svg width="12" height="12" viewBox="0 0 12 12" fill="none" aria-hidden="true" focusable="false"> |
50 | | - <path d="M9 3L3 9M3 3L9 9" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" /> |
51 | | - </svg> |
52 | | - </button> |
| 54 | + |
53 | 55 | </div> |
54 | 56 | </div> |
55 | 57 | <div id="search-results-announcement" class="visually-hidden" aria-live="polite" aria-atomic="true"></div> |
56 | | - <div id="search-results" class="search-results"></div> |
| 58 | + |
57 | 59 | </div> |
0 commit comments