formatting
This commit is contained in:
parent
936105793c
commit
2db8946828
|
@ -2,7 +2,11 @@
|
||||||
<div class="image-viewer"
|
<div class="image-viewer"
|
||||||
:class="{ 'is-visible': isVisible }">
|
:class="{ 'is-visible': isVisible }">
|
||||||
<transition name="trans-bg-image">
|
<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>
|
</transition>
|
||||||
<div class="image-container">
|
<div class="image-container">
|
||||||
<transition name="trans-bg-image">
|
<transition name="trans-bg-image">
|
||||||
|
@ -11,7 +15,11 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="image-container">
|
<div class="image-container">
|
||||||
<transition name="trans-image" mode="out-in">
|
<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>
|
</transition>
|
||||||
</div>
|
</div>
|
||||||
<div class="close-viewer mobile-only"
|
<div class="close-viewer mobile-only"
|
||||||
|
|
Loading…
Reference in New Issue