| 
14 | 14 |     color: #9ca3af;  | 
15 | 15 |   }  | 
16 | 16 | 
 
  | 
17 |  | -  .search-item {  | 
18 |  | -    background-color: #374151 !important;  | 
19 |  | -    border-radius: 0.5rem !important;  | 
20 |  | -    margin-bottom: 0.5rem !important;  | 
21 |  | -    overflow: hidden !important;  | 
22 |  | -  }  | 
23 |  | - | 
24 |  | -  .search-item a {  | 
25 |  | -    color: #d1d5db !important;  | 
26 |  | -    padding: 0.75rem !important;  | 
27 |  | -    display: block !important;  | 
28 |  | -    background-color: #374151 !important;  | 
29 |  | -    transition: background-color 0.2s !important;  | 
30 |  | -    text-decoration: none !important;  | 
31 |  | -    border-radius: inherit !important;  | 
32 |  | -  }  | 
33 | 17 | 
 
  | 
34 |  | -  .search-item:hover,  | 
35 |  | -  .search-item a:hover,  | 
36 |  | -  .search-item[aria-selected],  | 
37 |  | -  .search-item[aria-selected] a {  | 
38 |  | -    background-color: #4b5563 !important;  | 
39 |  | -    color: white !important;  | 
40 |  | -  }  | 
41 | 18 | 
 
  | 
42 | 19 |   .search-item-title {  | 
43 | 20 |     font-weight: 500;  | 
 | 
218 | 195 |             Object.keys(result).forEach((key, index) => {  | 
219 | 196 |               resultsContainer.insertAdjacentHTML(  | 
220 | 197 |                 'beforeend',  | 
221 |  | -                `<dd class="search-item" role="option" style="background-color: #374151; border-radius: 0.5rem; margin-bottom: 0.5rem; overflow: hidden;">  | 
222 |  | -                  <a href="${result[key].url}" style="color: #d1d5db; padding: 0.75rem; display: block; background-color: #374151; text-decoration: none; border-radius: inherit;">  | 
 | 198 | +                `<dd class="search-item" role="option">  | 
 | 199 | +                  <a href="${result[key].url}">  | 
223 | 200 |                     <span class="search-item-icon"></span>  | 
224 | 201 |                     <span class="search-item-content">  | 
225 | 202 |                       ${result[key].path && result[key].product ? `<div class="search-item-container"><span class="search-item-path">${result[key].path}</span><span class="px-2">→</span><span class="search-item-path">${result[key].product}</span></div>` : ''}  | 
 | 
0 commit comments