Merge pull request #4424 from rahulshukla-webkul/development

sue #3002 fixed.
This commit is contained in:
Glenn Hermans 2021-01-06 08:08:25 +01:00 committed by GitHub
commit 445d116fc0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 16 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,5 +1,5 @@
{
"/js/velocity.js": "/js/velocity.js?id=d5391a65146f1d0f4ca1",
"/js/velocity.js": "/js/velocity.js?id=944363ef9b7fd3a4f15d",
"/css/velocity-admin.css": "/css/velocity-admin.css?id=4322502d80a0e4a0affd",
"/css/velocity.css": "/css/velocity.css?id=c0ee0beda342603e1144"
}

View File

@ -7,7 +7,7 @@
<div class="image-container" v-else>
<div class="magnifier">
<img :src="activeImageVideoURL" :data-zoom-image="activeImageVideoURL"
class="main-product-image">
:class="[!isMobile() ? 'main-product-image' : 'vc-small-product-image']">
</div>
</div>
</template>
@ -23,6 +23,18 @@
}
}
@media only screen and (max-width: 992px) {
.image-container {
.magnifier {
> img {
height: 100%;
min-height: unset;
max-height: unset;
}
}
}
}
.video-container {
min-height: 530px;
max-height: 530px;
@ -63,7 +75,7 @@
/* getting url */
this.activeImageVideoURL = largeImageUrl;
/* type checking for media type */
this.currentType = currentType;