Skip to content

Commit 6950ead

Browse files
committed
fix issue 24735
1 parent ea71192 commit 6950ead

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

app/code/Magento/Catalog/view/frontend/web/template/product/image_with_borders.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
* See COPYING.txt for license details.
55
*/
66
-->
7-
<span class="product-image-container" data-bind="style: {width: width + 'px'}">
7+
<span class="product-image-container" data-bind="style: {width: width/2 + 'px'}">
88
<span class="product-image-wrapper" data-bind="style: {'padding-bottom': height/width*100 + '%'}">
9-
<img class="product-image-photo" data-bind="attr: {src: src, alt: alt}, style: {width: width + 'px', height: height + 'px'}" />
9+
<img class="product-image-photo" data-bind="attr: {src: src, alt: alt}, style: {width: width/2 + 'px', height: height/2 + 'px'}" />
1010
</span>
1111
</span>

app/design/frontend/Magento/luma/etc/view.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@
5353
<height>100</height>
5454
</image>
5555
<image id="mini_cart_product_thumbnail" type="thumbnail">
56-
<width>75</width>
57-
<height>75</height>
56+
<width>150</width>
57+
<height>150</height>
5858
</image>
5959
<image id="new_products_content_widget_grid" type="small_image">
6060
<width>240</width>

0 commit comments

Comments
 (0)