mirror of
https://github.com/romancm/gamebrary
synced 2024-11-24 04:03:06 +00:00
Game search clean up
This commit is contained in:
parent
1b666efe44
commit
ca6ff559de
1 changed files with 2 additions and 6 deletions
|
@ -1,5 +1,5 @@
|
|||
<template lang="html">
|
||||
<modal large :title="$t('list.addGame')">
|
||||
<modal padded :title="$t('list.addGame')" @open="clear">
|
||||
<button :class="buttonClass" :title="$t('list.addGame')">
|
||||
<i class="fas fa-plus" />
|
||||
</button>
|
||||
|
@ -137,7 +137,7 @@ export default {
|
|||
|
||||
methods: {
|
||||
clear() {
|
||||
this.searchText = null;
|
||||
this.searchText = '';
|
||||
this.$store.commit('CLEAR_SEARCH_RESULTS');
|
||||
},
|
||||
|
||||
|
@ -173,10 +173,6 @@ export default {
|
|||
<style lang="scss" rel="stylesheet/scss" scoped>
|
||||
@import "~styles/styles";
|
||||
|
||||
.game-search {
|
||||
padding: 0 $gp $gp;
|
||||
}
|
||||
|
||||
.add-game-button {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
|
|
Loading…
Reference in a new issue