Skip to content

Commit 395907d

Browse files
committed
IMP: reorder styles
1 parent 390505a commit 395907d

File tree

2 files changed

+8
-8
lines changed
  • app/design/frontend/Magento

2 files changed

+8
-8
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,15 +115,15 @@
115115
}
116116

117117
.product-image-photo {
118+
position: absolute;
119+
top: 0;
120+
right: 0;
118121
bottom: 0;
119-
display: block;
120122
height: auto;
121123
left: 0;
124+
display: block;
122125
margin: auto;
123126
max-width: 100%;
124-
position: absolute;
125-
right: 0;
126-
top: 0;
127127
}
128128

129129
//

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,15 +96,15 @@
9696
}
9797

9898
.product-image-photo {
99+
position: absolute;
100+
top: 0;
101+
right: 0;
99102
bottom: 0;
100-
display: block;
101103
height: auto;
102104
left: 0;
105+
display: block;
103106
margin: auto;
104107
max-width: 100%;
105-
position: absolute;
106-
right: 0;
107-
top: 0;
108108
}
109109

110110
//

0 commit comments

Comments
 (0)