Merge pull request '[PR]: Fixes Avatar Crop UI' (#10469) from dvd/calckey:fix/crop-ui into develop

Reviewed-on: https://codeberg.org/calckey/calckey/pulls/10469
This commit is contained in:
Kainoa Kanter 2023-07-11 15:53:25 +00:00
commit 214f445905

View file

@ -13,7 +13,7 @@
<template #default="{ width, height }"> <template #default="{ width, height }">
<div <div
class="mk-cropper-dialog" 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"> <Transition name="fade">
<div v-if="loading" class="loading"> <div v-if="loading" class="loading">