aboutsummaryrefslogtreecommitdiff
path: root/src/components/search_bar
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2020-11-01 16:44:57 +0200
committerHenry Jameson <me@hjkos.com>2020-11-01 16:44:57 +0200
commit8b1213ea1e75a2d0f824cc71992d4867a4ea0bb5 (patch)
tree07aa0e0c00295ca5aaf518c7931d89596e6fe6d9 /src/components/search_bar
parent994b49ddfe8fbf9979b668ab7e7d29c2ad864b1c (diff)
lint
Diffstat (limited to 'src/components/search_bar')
-rw-r--r--src/components/search_bar/search_bar.vue26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/components/search_bar/search_bar.vue b/src/components/search_bar/search_bar.vue
index 8d971287..89a601c8 100644
--- a/src/components/search_bar/search_bar.vue
+++ b/src/components/search_bar/search_bar.vue
@@ -1,19 +1,19 @@
<template>
-<div
- class="SearchBar"
- :class="{ '-expanded': !hidden }"
+ <div
+ class="SearchBar"
+ :class="{ '-expanded': !hidden }"
>
<a
v-if="hidden"
href="#"
class="nav-icon"
:title="$t('nav.search')"
- ><FAIcon
- fixed-width
- class="fa-scale-110 fa-old-padding"
- icon="search"
- @click.prevent.stop="toggleHidden"
- /></a>
+ ><FAIcon
+ fixed-width
+ class="fa-scale-110 fa-old-padding"
+ icon="search"
+ @click.prevent.stop="toggleHidden"
+ /></a>
<template v-else>
<input
id="search-bar-input"
@@ -23,15 +23,15 @@
:placeholder="$t('nav.search')"
type="text"
@keyup.enter="find(searchTerm)"
- >
+ >
<button
class="btn search-button"
@click="find(searchTerm)"
- >
+ >
<FAIcon
fixed-width
icon="search"
- />
+ />
</button>
<span>
<FAIcon
@@ -39,7 +39,7 @@
icon="times"
class="cancel-icon fa-scale-110 fa-old-padding"
@click.prevent.stop="toggleHidden"
- />
+ />
</span>
</template>
</div>