diff --git a/src/components/DeckBuilder/CardPicker.vue b/src/components/DeckBuilder/CardPicker.vue index 8690356..3af2c00 100644 --- a/src/components/DeckBuilder/CardPicker.vue +++ b/src/components/DeckBuilder/CardPicker.vue @@ -2,7 +2,7 @@
@@ -17,9 +17,9 @@ $padding: 10px; .cardpicker { height: 100%; display: grid; - grid-gap: $padding; + gap: $padding; padding: ($padding * 4) $padding; - grid-row-gap: $padding * 4; + row-gap: $padding * 4; .ccgcard { display: flex; align-items: center; @@ -61,5 +61,12 @@ export default class CardPicker extends Vue { private _picked(card: Card) { this.$emit("picked", card); } + + private cardClass(card: CardSlot) { + return { + ccgcard: true, + disabled: card.howmany >= card.limit + }; + } } diff --git a/src/components/DeckBuilder/DeckList.vue b/src/components/DeckBuilder/DeckList.vue index 6196f15..179be47 100644 --- a/src/components/DeckBuilder/DeckList.vue +++ b/src/components/DeckBuilder/DeckList.vue @@ -1,7 +1,7 @@