Skip to content

Commit fe5be17

Browse files
committed
ADD: width auto to prevent images from being distorted
1 parent 5092948 commit fe5be17

File tree

2 files changed

+2
-0
lines changed
  • app/design/frontend/Magento

2 files changed

+2
-0
lines changed

app/design/frontend/Magento/blank/Magento_Catalog/web/css/source/_module.less

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@
121121
bottom: 0;
122122
left: 0;
123123
display: block;
124+
width: auto;
124125
margin: auto;
125126
}
126127

app/design/frontend/Magento/luma/Magento_Catalog/web/css/source/_module.less

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@
102102
bottom: 0;
103103
left: 0;
104104
display: block;
105+
width: auto;
105106
margin: auto;
106107
}
107108

0 commit comments

Comments
 (0)