caurosel style fixed

This commit is contained in:
batuhanbas
2019-12-26 14:11:39 +03:00
parent 67a6415f77
commit 20ed6b363e
3 changed files with 27 additions and 4 deletions

View File

@ -8,18 +8,18 @@
:interval="interval" :arrow="arrow">
<el-carousel-item v-if="video">
<iframe width="100%" height="400px"
<iframe width="100%" height="365px"
:src="'https://www.youtube-nocookie.com/embed/' + video"
frameborder="0"
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
<div class="image-description text-center">
<div class="carousel-description py-2">
{{ name }}
</div>
</el-carousel-item>
<el-carousel-item v-for="(screenshot, index) in screenshots" :key="index">
<img class="d-block w-100" :src="screenshot.path_string" :alt="screenshot.alt_attribute">
<div class="image-description text-center">
<div class="carousel-description py-2">
{{ screenshot.description }}
</div>
</el-carousel-item>