mirror of
https://github.com/romancm/gamebrary
synced 2024-11-16 00:07:59 +00:00
fix game thumbnails
This commit is contained in:
parent
0e5574a798
commit
0f716dd689
1 changed files with 9 additions and 5 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue