aboutsummaryrefslogtreecommitdiff
path: root/src/components/search
diff options
context:
space:
mode:
authorShpuld Shpuldson <shp@cock.li>2020-10-29 08:55:54 +0200
committerShpuld Shpuldson <shp@cock.li>2020-10-29 08:55:54 +0200
commit6acb61f2968063f19445a99851a2c1dda6783ac8 (patch)
tree259501d7645fe1801f4615519dfd8e43b26eb531 /src/components/search
parent24d85ce6dc77c2e18759bdb67c8005fcd697a0c5 (diff)
parenta84db4bd8f04bdfc14836f55f441aa8478265291 (diff)
fix conflict, keep the touchable button big
Diffstat (limited to 'src/components/search')
-rw-r--r--src/components/search/search.js10
-rw-r--r--src/components/search/search.vue8
2 files changed, 16 insertions, 2 deletions
diff --git a/src/components/search/search.js b/src/components/search/search.js
index 8e903052..b62bc2c5 100644
--- a/src/components/search/search.js
+++ b/src/components/search/search.js
@@ -2,6 +2,16 @@ import FollowCard from '../follow_card/follow_card.vue'
import Conversation from '../conversation/conversation.vue'
import Status from '../status/status.vue'
import map from 'lodash/map'
+import { library } from '@fortawesome/fontawesome-svg-core'
+import {
+ faCircleNotch,
+ faSearch
+} from '@fortawesome/free-solid-svg-icons'
+
+library.add(
+ faCircleNotch,
+ faSearch
+)
const Search = {
components: {
diff --git a/src/components/search/search.vue b/src/components/search/search.vue
index 746bbaa2..665390f9 100644
--- a/src/components/search/search.vue
+++ b/src/components/search/search.vue
@@ -17,14 +17,18 @@
class="btn search-button"
@click="newQuery(searchTerm)"
>
- <i class="icon-search" />
+ <FAIcon icon="search" />
</button>
</div>
<div
v-if="loading"
class="text-center loading-icon"
>
- <i class="icon-spin3 animate-spin" />
+ <FAIcon
+ icon="circle-notch"
+ spin
+ size="lg"
+ />
</div>
<div v-else-if="loaded">
<div class="search-nav-heading">