Fix picked event
This commit is contained in:
parent
89122a915e
commit
b9e0d096ba
2 changed files with 16 additions and 1 deletions
|
@ -54,7 +54,7 @@ export default class CardPicker extends Vue {
|
||||||
return cardImageURL(id);
|
return cardImageURL(id);
|
||||||
}
|
}
|
||||||
|
|
||||||
private picked(card: Card) {
|
private _picked(card: Card) {
|
||||||
this.$emit("picked", card);
|
this.$emit("picked", card);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,6 +10,21 @@
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.decklist {
|
.decklist {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
|
||||||
|
article {
|
||||||
|
display: flex;
|
||||||
|
align-content: space-between;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.amt {
|
||||||
|
margin: 0 5px;
|
||||||
|
font-weight: bold;
|
||||||
|
&:after {
|
||||||
|
content: "x";
|
||||||
|
font-weight: 300;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue