Fix picked event
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

This commit is contained in:
Hamcha 2019-09-10 14:47:53 +02:00
parent 89122a915e
commit b9e0d096ba
Signed by: hamcha
GPG key ID: 44AD3571EB09A39E
2 changed files with 16 additions and 1 deletions

View file

@ -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);
} }
} }

View file

@ -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>