Fixed centering logic in banner.

This commit is contained in:
DebaucheryLibrarian 2022-03-28 00:36:04 +02:00
parent e4cc349302
commit bdd2e68f49
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
<div class="media-container">
<div
class="media"
:class="{ center: (release.photos?.length < 2) || (release.scenesPhotos?.length < 2), preview: !me }"
:class="{ center: (release.photos?.length || 0) + (release.scenesPhotos?.length || 0) < 2, preview: !me }"
>
<div
v-if="release.trailer || release.teaser"