diff options
| author | Terry Truong <terry06890@gmail.com> | 2022-03-27 08:30:45 +1100 |
|---|---|---|
| committer | Terry Truong <terry06890@gmail.com> | 2022-03-27 08:30:45 +1100 |
| commit | 4a469f8f6fab97d591929933b8cc73085955ab25 (patch) | |
| tree | c8c632348971e61176eda5fb97cceeef80e4554c /src/components/SearchModal.vue | |
| parent | 3cfe6761b450ab2d31c71e06bb83de3f057f1923 (diff) | |
Move svg details to index.html
Diffstat (limited to 'src/components/SearchModal.vue')
| -rw-r--r-- | src/components/SearchModal.vue | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/components/SearchModal.vue b/src/components/SearchModal.vue index 7e32236..ee1cc2e 100644 --- a/src/components/SearchModal.vue +++ b/src/components/SearchModal.vue @@ -44,11 +44,8 @@ export default defineComponent({ bg-stone-50 rounded-md shadow shadow-black flex gap-1"> <input type="text" class="block border" @keyup.enter="onSearchEnter" @keyup.esc="closeClicked" ref="searchInput"/> - <svg class="block w-6 h-6 ml-1 hover:cursor-pointer hover:bg-stone-200" @click="onSearchEnter" - xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" - stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"> - <circle cx="11" cy="11" r="8"/> - <line x1="21" y1="21" x2="16.65" y2="16.65"/> + <svg class="block w-6 h-6 ml-1 hover:cursor-pointer hover:bg-stone-200" @click="onSearchEnter"> + <use href="#svg-search"/> </svg> </div> </div> |
