Skip to content

Commit 55e2e64

Browse files
[fixed My Wish List Product not showing properly between >768px and <1023px]
1 parent 06a0dd0 commit 55e2e64

File tree

2 files changed

+28
-3
lines changed
  • app/design/frontend/Magento

2 files changed

+28
-3
lines changed

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

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,17 @@
5353
}
5454
}
5555

56+
.products-grid.wishlist {
57+
.product-item {
58+
margin-left: 2%;
59+
padding: 5px;
60+
width: calc(~'(100% - 4%) / 3');
61+
&:nth-child(3n + 1) {
62+
margin-left: 0;
63+
}
64+
}
65+
}
66+
5667
.account .table-wrapper .data.table.wishlist {
5768
.lib-table-bordered(
5869
@_table_type: horizontal
@@ -185,6 +196,8 @@
185196
.products-grid.wishlist {
186197
.product-item {
187198
border-bottom: 1px solid @secondary__color;
199+
margin: 0;
200+
width: 100%;
188201
&:first-child {
189202
border-top: 1px solid @secondary__color;
190203
}

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

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,17 @@
4545
}
4646
}
4747

48+
.products-grid.wishlist {
49+
.product-item {
50+
margin-left: 2%;
51+
padding: 5px;
52+
width: calc(~'(100% - 4%) / 3');
53+
&:nth-child(3n + 1) {
54+
margin-left: 0;
55+
}
56+
}
57+
}
58+
4859
.account .table-wrapper .data.table.wishlist {
4960
.lib-table-bordered(
5061
@_table_type: horizontal
@@ -183,7 +194,7 @@
183194
}
184195
}
185196
.products-grid.wishlist {
186-
.product-item-actions {
197+
.product-item-actions {
187198
.action {
188199
&.edit,
189200
&.delete {
@@ -216,7 +227,8 @@
216227
.products-grid.wishlist {
217228
.product-item {
218229
border-bottom: 1px solid @secondary__color;
219-
230+
margin: 0;
231+
width: 100%;
220232
&:first-child {
221233
border-top: 1px solid @secondary__color;
222234
}
@@ -253,7 +265,7 @@
253265
&:last-child {
254266
margin-right: 0;
255267
}
256-
268+
257269
&.edit,
258270
&.delete {
259271
margin-top: 7px;

0 commit comments

Comments
 (0)