Skip to content

Commit

Permalink
ENGCOM-5980: fix issue 24735 #24743
Browse files Browse the repository at this point in the history
 - Merge Pull Request #24743 from dmdanilchenko/magento2:fix/issue-24735
 - Merged commits:
   1. 6950ead
   2. c7deb42
   3. 8f5f9a5
   4. 3391686
   5. 88d403c
  • Loading branch information
magento-engcom-team committed Mar 4, 2020
2 parents 5a9fcab + 88d403c commit 5ea24a1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* See COPYING.txt for license details.
*/
-->
<span class="product-image-container" data-bind="style: {width: width + 'px'}">
<span class="product-image-container" data-bind="style: {width: width/2 + 'px'}">
<span class="product-image-wrapper" data-bind="style: {'padding-bottom': height/width*100 + '%'}">
<img class="product-image-photo" data-bind="attr: {src: src, alt: alt}, style: {width: 'auto', height: 'auto'}" />
</span>
Expand Down
4 changes: 2 additions & 2 deletions app/design/frontend/Magento/blank/etc/view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@
<height>100</height>
</image>
<image id="mini_cart_product_thumbnail" type="thumbnail">
<width>78</width>
<height>78</height>
<width>156</width>
<height>156</height>
</image>
<image id="new_products_content_widget_grid" type="small_image">
<width>240</width>
Expand Down
4 changes: 2 additions & 2 deletions app/design/frontend/Magento/luma/etc/view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@
<height>100</height>
</image>
<image id="mini_cart_product_thumbnail" type="thumbnail">
<width>75</width>
<height>75</height>
<width>150</width>
<height>150</height>
</image>
<image id="new_products_content_widget_grid" type="small_image">
<width>240</width>
Expand Down

0 comments on commit 5ea24a1

Please sign in to comment.