Skip to content

Commit 8db3de4

Browse files
[Magento Community Engineering] Community Contributions - 2.4-develop-temporary-three-prs
- merged with '2.4-develop-temporary-two-prs' branch
2 parents 2688e0b + 6f100b0 commit 8db3de4

File tree

2 files changed

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

2 files changed

+21
-2
lines changed

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,13 @@
128128
.products-grid.wishlist {
129129
.product {
130130
&-item {
131+
margin-left: 2%;
132+
width: calc(~'(100% - 4%) / 3');
133+
134+
&:nth-child(3n + 1) {
135+
margin-left: 0;
136+
}
137+
131138
&-photo {
132139
display: block;
133140
margin-bottom: @indent__s;
@@ -185,6 +192,9 @@
185192
.products-grid.wishlist {
186193
.product-item {
187194
border-bottom: 1px solid @secondary__color;
195+
margin: 0;
196+
width: 100%;
197+
188198
&:first-child {
189199
border-top: 1px solid @secondary__color;
190200
}

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

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,13 @@
135135
.products-grid.wishlist {
136136
.product {
137137
&-item {
138+
margin-left: 2%;
139+
width: calc(~'(100% - 4%) / 3');
140+
141+
&:nth-child(3n + 1) {
142+
margin-left: 0;
143+
}
144+
138145
&-photo {
139146
display: block;
140147
margin-bottom: @indent__s;
@@ -183,7 +190,7 @@
183190
}
184191
}
185192
.products-grid.wishlist {
186-
.product-item-actions {
193+
.product-item-actions {
187194
.action {
188195
&.edit,
189196
&.delete {
@@ -216,6 +223,8 @@
216223
.products-grid.wishlist {
217224
.product-item {
218225
border-bottom: 1px solid @secondary__color;
226+
margin: 0;
227+
width: 100%;
219228

220229
&:first-child {
221230
border-top: 1px solid @secondary__color;
@@ -253,7 +262,7 @@
253262
&:last-child {
254263
margin-right: 0;
255264
}
256-
265+
257266
&.edit,
258267
&.delete {
259268
margin-top: 7px;

0 commit comments

Comments
 (0)