Image previews in a v-col

This commit is contained in:
SkepticMystic 2025-06-28 09:39:31 +00:00
commit ed76f7a586

View file

@ -29,7 +29,9 @@
<v-row style="max-width: 600px;">
<v-spacer />
<v-col v-for="(imageUrl, index) in uploadedImagesPreviewUrls" :key="index" cols="12">
<ImageCropper :img="imageUrl" cropper-height="50vh" cropper-width="100%"
<v-row>
<v-col cols="auto" align-self="center">
<ImageCropper :img="imageUrl" cropper-height="100%" cropper-width="100%"
@save="(croppedImage) => updateUploadedImage(index, croppedImage)" />
<v-btn color="error" @click="() => clearImage(index)">
@ -39,6 +41,8 @@
{{ $t('recipe.remove-image') }}
</v-btn>
</v-col>
</v-row>
</v-col>
<v-spacer />
</v-row>
</div>