diff --git a/src/components/Navigation.vue b/src/components/Navigation.vue index e9d2399f..461c0ae9 100644 --- a/src/components/Navigation.vue +++ b/src/components/Navigation.vue @@ -6,11 +6,7 @@ >
iped
@@ -19,7 +15,7 @@ type="text" placeholder="Search" v-model="searchText" - @keypress="onChange($event)" + @keydown="onKeyDown" @focus="onInputFocus" @blur="onInputBlur" /> @@ -44,20 +40,20 @@ type="text" placeholder="Search" v-model="searchText" - @keypress="onChange($event)" + @keydown="onKeyDown" @focus="onInputFocus" @blur="onInputBlur" />
@@ -26,6 +77,13 @@ export default { max-width: 640px; width: 100%; box-sizing: border-box; + padding: 5px 0; +} +.suggestion { + padding: 4px 15px; +} +.suggestion.selected { + background-color: #393d3d; } @media screen and (max-width: 959px) { .suggestions-container {