Fixed trailer width in release banner.

This commit is contained in:
DebaucheryLibrarian
2021-02-11 02:01:48 +01:00
parent a14227b588
commit d80dd67ad0
7 changed files with 11 additions and 3 deletions

View File

@@ -12,7 +12,7 @@
v-if="release.trailer"
:video="release.trailer"
:poster="poster"
class="item"
class="item trailer"
@play="playing = true; paused = false;"
@pause="playing = false; paused = true;"
/>
@@ -24,7 +24,7 @@
:poster="poster"
:alt="release.title"
:class="{ sfw: sfw && paused }"
class="item"
class="item trailer"
@play="playing = true; paused = false;"
@pause="playing = false; paused = true;"
/>
@@ -286,7 +286,6 @@ export default {
width: 100%;
max-width: 32rem;
max-height: 100%;
object-fit: cover;
&.sfw {
filter: blur(2rem);