fix game thumbnails

This commit is contained in:
Gamebrary 2020-12-16 14:34:58 -07:00
parent 0e5574a798
commit 0f716dd689

View file

@ -3,7 +3,9 @@
<b-col <b-col
v-for="(thumbnail, index) in thumbnails" v-for="(thumbnail, index) in thumbnails"
:key="index" :key="index"
cols="4" cols="2"
md="6"
lg="4"
> >
<b-img <b-img
:src="thumbnail" :src="thumbnail"
@ -16,12 +18,14 @@
<b-col <b-col
v-if="screenshots.length > maxThumbnails" v-if="screenshots.length > maxThumbnails"
cols="4" cols="2"
md="6"
lg="4"
class="rounded mb-2 text-center pt-4"
@click="openModal(maxThumbnails)" @click="openModal(maxThumbnails)"
> >
<b-button class="d-block w-100 px-0"> {{ screenshots.length }}
<i class="fas fa-images fa-fw" aria-hidden></i> <i class="fas fa-images fa-fw" aria-hidden></i>
</b-button>
</b-col> </b-col>
<b-modal <b-modal