Skip to content

Commit 5ea24a1

Browse files
ENGCOM-5980: fix issue 24735 #24743
- Merge Pull Request #24743 from dmdanilchenko/magento2:fix/issue-24735 - Merged commits: 1. 6950ead 2. c7deb42 3. 8f5f9a5 4. 3391686 5. 88d403c
2 parents 5a9fcab + 88d403c commit 5ea24a1

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
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 + '%'}">
99
<img class="product-image-photo" data-bind="attr: {src: src, alt: alt}, style: {width: 'auto', height: 'auto'}" />
1010
</span>

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@
4949
<height>100</height>
5050
</image>
5151
<image id="mini_cart_product_thumbnail" type="thumbnail">
52-
<width>78</width>
53-
<height>78</height>
52+
<width>156</width>
53+
<height>156</height>
5454
</image>
5555
<image id="new_products_content_widget_grid" type="small_image">
5656
<width>240</width>

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)