forked from brooksbingham/theme-elegance
fix: product images are resized automatically while while switching
parent
accf657ee6
commit
c72869ec3f
|
@ -22,15 +22,15 @@
|
||||||
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
|
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
|
||||||
* International Registered Trademark & Property of PrestaShop SA
|
* International Registered Trademark & Property of PrestaShop SA
|
||||||
*}
|
*}
|
||||||
<div class="images-container flex flex-row-reverse justify-center gap-6 flex-wrap lg:flex-nowrap">
|
<div class="images-container flex w-full flex-row-reverse justify-center gap-6 flex-wrap lg:flex-nowrap">
|
||||||
{block name='product_cover'}
|
{block name='product_cover'}
|
||||||
<div class="product-cover">
|
<div class="product-cover w-full">
|
||||||
<img class="js-qv-product-cover max-w-2xl bg-gray-100" src="{$product.cover.bySize.large_default.url}" alt="{$product.cover.legend}" title="{$product.cover.legend}" style="width:100%;" itemprop="image">
|
<img class="js-qv-product-cover w-full bg-gray-100" src="{$product.cover.bySize.large_default.url}" alt="{$product.cover.legend}" title="{$product.cover.legend}" itemprop="image">
|
||||||
</div>
|
</div>
|
||||||
{/block}
|
{/block}
|
||||||
|
|
||||||
{block name='product_images'}
|
{block name='product_images'}
|
||||||
<div class="js-qv-mask mask"" >
|
<div class="js-qv-mask mask" >
|
||||||
<ul class="product-images js-qv-product-images flex flex-row lg:flex-col gap-6">
|
<ul class="product-images js-qv-product-images flex flex-row lg:flex-col gap-6">
|
||||||
{foreach from=$product.images item=image}
|
{foreach from=$product.images item=image}
|
||||||
<li class="thumb-container w-14 md:w-24">
|
<li class="thumb-container w-14 md:w-24">
|
||||||
|
|
Loading…
Reference in New Issue