mirror of
https://github.com/romancm/gamebrary
synced 2025-02-17 11:38:24 +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">
|
<template lang="html">
|
||||||
<modal large :title="$t('list.addGame')">
|
<modal padded :title="$t('list.addGame')" @open="clear">
|
||||||
<button :class="buttonClass" :title="$t('list.addGame')">
|
<button :class="buttonClass" :title="$t('list.addGame')">
|
||||||
<i class="fas fa-plus" />
|
<i class="fas fa-plus" />
|
||||||
</button>
|
</button>
|
||||||
|
@ -137,7 +137,7 @@ export default {
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
clear() {
|
clear() {
|
||||||
this.searchText = null;
|
this.searchText = '';
|
||||||
this.$store.commit('CLEAR_SEARCH_RESULTS');
|
this.$store.commit('CLEAR_SEARCH_RESULTS');
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -173,10 +173,6 @@ export default {
|
||||||
<style lang="scss" rel="stylesheet/scss" scoped>
|
<style lang="scss" rel="stylesheet/scss" scoped>
|
||||||
@import "~styles/styles";
|
@import "~styles/styles";
|
||||||
|
|
||||||
.game-search {
|
|
||||||
padding: 0 $gp $gp;
|
|
||||||
}
|
|
||||||
|
|
||||||
.add-game-button {
|
.add-game-button {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 0;
|
right: 0;
|
||||||
|
|
Loading…
Add table
Reference in a new issue