- [spell-card] Ingredients are a string
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
v-bind:schools="['Lumomancie', 'Nécromancie']"
|
v-bind:schools="['Lumomancie', 'Nécromancie']"
|
||||||
v-bind:level="'30'"
|
v-bind:level="'30'"
|
||||||
v-bind:charge="'2'"
|
v-bind:charge="'2'"
|
||||||
v-bind:ingredients="[`Volonté`, `Geste`]"
|
v-bind:ingredients="`Volonté, Geste`"
|
||||||
v-bind:cost="'-90'"
|
v-bind:cost="'-90'"
|
||||||
v-bind:variables="[{name: 'x', description: 'lol'}]"
|
v-bind:variables="[{name: 'x', description: 'lol'}]"
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -33,9 +33,7 @@
|
|||||||
<div class="casting-ingredients">
|
<div class="casting-ingredients">
|
||||||
<p class="title">Nécessite</p>
|
<p class="title">Nécessite</p>
|
||||||
<p class="content">
|
<p class="content">
|
||||||
<span v-for="ingredient of ingredients" :key="ingredient">
|
{{ ingredients }}
|
||||||
<span>{{ ingredient }} </span>
|
|
||||||
</span>
|
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
@@ -67,7 +65,7 @@ export default {
|
|||||||
description: Array,
|
description: Array,
|
||||||
level: String,
|
level: String,
|
||||||
schools: Array,
|
schools: Array,
|
||||||
ingredients: Array,
|
ingredients: String,
|
||||||
charge: String,
|
charge: String,
|
||||||
cost: String,
|
cost: String,
|
||||||
variables: Array,
|
variables: Array,
|
||||||
@@ -77,7 +75,6 @@ export default {
|
|||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
|
|
||||||
|
|
||||||
.spell-card {
|
.spell-card {
|
||||||
max-width: 35rem;
|
max-width: 35rem;
|
||||||
padding: .5rem;
|
padding: .5rem;
|
||||||
@@ -156,6 +153,7 @@ export default {
|
|||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
}
|
}
|
||||||
.content {
|
.content {
|
||||||
|
padding-top: 1rem;
|
||||||
font-size: .85rem;
|
font-size: .85rem;
|
||||||
text-align: justify;
|
text-align: justify;
|
||||||
text-align-last: center;
|
text-align-last: center;
|
||||||
|
|||||||
Reference in New Issue
Block a user