add another class for css

This commit is contained in:
rahul shukla 2021-03-19 16:57:45 +05:30
parent a6482d5274
commit 776fba349f
4 changed files with 4 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,4 @@
{
"/js/admin.js": "/js/admin.js?id=dc1e219a5abbaf707c3b",
"/css/admin.css": "/css/admin.css?id=ea2c51361c873676924d"
"/css/admin.css": "/css/admin.css?id=67661904efcf8e7ad275"
}

View File

@ -341,7 +341,7 @@ body {
}
}
.image-wrapper {
.variant-image {
.image-item {
height: 100px !important;
width: 100px !important;

View File

@ -158,7 +158,7 @@
<td>
<div class="control-group" :class="[errors.has(variantInputName + '[images][' + index + ']') ? 'has-error' : '']">
<div v-for='(image, index) in items' class="image-wrapper">
<div v-for='(image, index) in items' class="image-wrapper variant-image">
<label class="image-item" v-bind:class="{ 'has-image': imageData[index] }">
<input type="hidden" :name="[variantInputName + '[images][' + image.id + ']']" v-if="! new_image[index]"/>