Add basic deck builder #12
2 changed files with 16 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in a new issue