Skip to content

Commit 6fbdbbe

Browse files
[Applied changes as per suggession]
1 parent 55e2e64 commit 6fbdbbe

File tree

2 files changed

+16
-22
lines changed
  • app/design/frontend/Magento

2 files changed

+16
-22
lines changed

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

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -53,17 +53,6 @@
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-
6756
.account .table-wrapper .data.table.wishlist {
6857
.lib-table-bordered(
6958
@_table_type: horizontal
@@ -139,6 +128,13 @@
139128
.products-grid.wishlist {
140129
.product {
141130
&-item {
131+
margin-left: 2%;
132+
width: calc(~'(100% - 4%) / 3');
133+
134+
&:nth-child(3n + 1) {
135+
margin-left: 0;
136+
}
137+
142138
&-photo {
143139
display: block;
144140
margin-bottom: @indent__s;
@@ -198,6 +194,7 @@
198194
border-bottom: 1px solid @secondary__color;
199195
margin: 0;
200196
width: 100%;
197+
201198
&:first-child {
202199
border-top: 1px solid @secondary__color;
203200
}

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

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -45,17 +45,6 @@
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-
5948
.account .table-wrapper .data.table.wishlist {
6049
.lib-table-bordered(
6150
@_table_type: horizontal
@@ -146,6 +135,13 @@
146135
.products-grid.wishlist {
147136
.product {
148137
&-item {
138+
margin-left: 2%;
139+
width: calc(~'(100% - 4%) / 3');
140+
141+
&:nth-child(3n + 1) {
142+
margin-left: 0;
143+
}
144+
149145
&-photo {
150146
display: block;
151147
margin-bottom: @indent__s;
@@ -229,6 +225,7 @@
229225
border-bottom: 1px solid @secondary__color;
230226
margin: 0;
231227
width: 100%;
228+
232229
&:first-child {
233230
border-top: 1px solid @secondary__color;
234231
}

0 commit comments

Comments
 (0)