Fixed bug in my collection
This commit is contained in:
parent
e8b60beacb
commit
4f3c2b0499
2 changed files with 22 additions and 5 deletions
|
@ -43,5 +43,22 @@
|
||||||
img {
|
img {
|
||||||
border: 2px solid #4a4a4a;
|
border: 2px solid #4a4a4a;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.items {
|
||||||
|
span {
|
||||||
|
margin-right: 0.6rem;
|
||||||
|
|
||||||
|
&::after {
|
||||||
|
content: ",";
|
||||||
|
}
|
||||||
|
|
||||||
|
&:last-child {
|
||||||
|
&::after {
|
||||||
|
margin-right: 0;
|
||||||
|
content: "";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -47,11 +47,11 @@
|
||||||
<br />
|
<br />
|
||||||
<span><strong>Pays :</strong> {{ item.country }}</span>
|
<span><strong>Pays :</strong> {{ item.country }}</span>
|
||||||
<br />
|
<br />
|
||||||
<span class="item"><strong>Format :</strong> <span v-for="format in item.formats">{{ format.name }}</span></span>
|
<span class="items"><strong>Format :</strong> <span v-for="format in item.formats">{{ format.name }}</span></span>
|
||||||
<br />
|
<br />
|
||||||
<span class="item"><strong>Genre :</strong> <span v-for="genre in item.genres">{{ genre }}</span></span>
|
<span class="items"><strong>Genre :</strong> <span v-for="genre in item.genres">{{ genre }}</span></span>
|
||||||
<br />
|
<br />
|
||||||
<span class="item"><strong>Style :</strong> <span v-for="style in item.styles">{{ style }}</span></span>
|
<span class="items"><strong>Style :</strong> <span v-for="style in item.styles">{{ style }}</span></span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue