Merge pull request #1124 from batuhawk/master

App carousel size problem fixed
This commit is contained in:
Batuhan Baş 2020-01-14 17:07:49 +03:00 committed by GitHub
commit 0dd88eff33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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