fix: fixed stretched images on web viewer

Merge branch '0.14.0/fix-web-viewer-stretching' into 0.14.0/stage
pull/186/head
tycrek 2 years ago
commit dcd93b6fc3
No known key found for this signature in database
GPG Key ID: FF8A54DCE404885A

@ -25,7 +25,8 @@ html
.w-full.h-full.flex.justify-center.items-center.text-center
.bg-viewer.rounded-24
h4.mx-4.mt-6.mb-4.text-3xl.font-main!=title
figure.block.mx-10.my-4.flex.flex-col.align-items-center
figure.mx-10.my-4.flex.flex-col.align-items-center.justify-center
.flex.justify-center
if fileIs.video
video.res-media(controls loop muted playsinline preload='metadata')&attributes(resourceAttr)
else if fileIs.image

Loading…
Cancel
Save