formatting
This commit is contained in:
parent
936105793c
commit
2db8946828
|
@ -2,7 +2,11 @@
|
|||
<div class="image-viewer"
|
||||
:class="{ 'is-visible': isVisible }">
|
||||
<transition name="trans-bg-image">
|
||||
<div v-if="backgroundImageUrl !== null" :key="backgroundImageUrl" class="viewer-background" :style="backgroundStyle"></div>
|
||||
<div v-if="backgroundImageUrl !== null"
|
||||
:key="backgroundImageUrl"
|
||||
class="viewer-background"
|
||||
:style="backgroundStyle"
|
||||
></div>
|
||||
</transition>
|
||||
<div class="image-container">
|
||||
<transition name="trans-bg-image">
|
||||
|
@ -11,7 +15,11 @@
|
|||
</div>
|
||||
<div class="image-container">
|
||||
<transition name="trans-image" mode="out-in">
|
||||
<img v-if="displayImageUrl !== null" :key="displayImageUrl" class="image" :src="displayImageUrl">
|
||||
<img v-if="displayImageUrl !== null"
|
||||
:key="displayImageUrl"
|
||||
class="image"
|
||||
:src="displayImageUrl"
|
||||
>
|
||||
</transition>
|
||||
</div>
|
||||
<div class="close-viewer mobile-only"
|
||||
|
|
Loading…
Reference in New Issue