Fix video in media modal not displaying properly
This commit is contained in:
parent
22d8961c5e
commit
1128cc463c
|
@ -5,6 +5,7 @@
|
||||||
@backdropClicked="hide"
|
@backdropClicked="hide"
|
||||||
>
|
>
|
||||||
<SwipeClick
|
<SwipeClick
|
||||||
|
v-if="type === 'image'"
|
||||||
class="modal-image-container"
|
class="modal-image-container"
|
||||||
:direction="swipeDirection"
|
:direction="swipeDirection"
|
||||||
:threshold="swipeThreshold"
|
:threshold="swipeThreshold"
|
||||||
|
@ -23,7 +24,6 @@
|
||||||
:reset-to-min-scale-limit="pinchZoomScaleResetLimit"
|
:reset-to-min-scale-limit="pinchZoomScaleResetLimit"
|
||||||
>
|
>
|
||||||
<img
|
<img
|
||||||
v-if="type === 'image'"
|
|
||||||
:class="{ loading }"
|
:class="{ loading }"
|
||||||
class="modal-image"
|
class="modal-image"
|
||||||
:src="currentMedia.url"
|
:src="currentMedia.url"
|
||||||
|
|
Loading…
Reference in New Issue