Fixes image cropper ui

This commit is contained in:
DVD 2023-07-11 21:27:10 +08:00
parent cd66f859ab
commit 4bcfcfe7f1
No known key found for this signature in database
GPG Key ID: 17C8715EFC9A5D4A

View File

@ -13,7 +13,7 @@
<template #default="{ width, height }">
<div
class="mk-cropper-dialog"
:style="`--vw: ${width}px; --vh: ${height}px;`"
:style="`--vw: ${width ? `${width}px` : '100%'}; --vh: ${height ? `${height}px` : '100%'};`"
>
<Transition name="fade">
<div v-if="loading" class="loading">