@@ -1,7 +1,6 @@
<template lang="pug">
.customers-grid
- template(v-for="customer in customers")
- customer-card(:data="customer")
+ customer-card(v-for="customer in customers" :key="customer" :data="customer")
</template>
<script>
@@ -19,4 +18,8 @@
</script>
<style lang="sass">
+ .customers-grid
+ width: 100%
+ heigth: calc(100% - 30px)
+ margin: 0 15px
</style>