Add basic deck builder #12

Merged
hamcha merged 42 commits from feature/deckbuilder into master 2019-09-12 09:11:32 +00:00
2 changed files with 16 additions and 1 deletions
Showing only changes of commit b9e0d096ba - Show all commits

View File

@ -54,7 +54,7 @@ export default class CardPicker extends Vue {
return cardImageURL(id);
}
private picked(card: Card) {
private _picked(card: Card) {
this.$emit("picked", card);
}
}

View File

@ -10,6 +10,21 @@
<style lang="scss" scoped>
.decklist {
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>