show supported img formats implemented

This commit is contained in:
dasari810 2020-10-26 16:35:06 +05:30
parent 21a9094a25
commit ae681ccad3
2 changed files with 9 additions and 1 deletions

View File

@ -279,7 +279,7 @@ $size-avatar-large: 114px;
$size-image-max-height: 2000px;
$size-image-cropper-max-height: 600px;
$size-image-cropper-min-height: 400px;
$size-image-uploader-min-height: 200px;
$size-image-uploader-min-height: 250px;
/**
* @tokens Size Icons

View File

@ -20,6 +20,9 @@
:title="$t('actions.delete')"
@click.stop="deleteImage"
/>
<div v-if="!hasImage" class="supported-formats">
Insert a picture of file format JPG , PNG or GIF
</div>
</vue-dropzone>
<div v-show="showCropper" class="crop-overlay">
<img id="cropping-image" />
@ -195,6 +198,11 @@ export default {
right: $space-small;
z-index: $z-index-surface;
}
> .supported-formats {
margin-top: 150px;
font-weight: bold;
}
}
}
</style>