Skip to content

Commit c7e05eb

Browse files
authored
ENGCOM-4122: [Backport] Fixed-Wishlist-alignment-issue-at-mobile-2.2 #20589
2 parents 745e9ac + 61a9d57 commit c7e05eb

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@
342342
.product {
343343
&-item {
344344
&-checkbox {
345-
left: 20px;
345+
left: 0;
346346
position: absolute;
347347
top: 20px;
348348
}
@@ -381,16 +381,16 @@
381381
.media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) {
382382
.wishlist {
383383
&.window.popup {
384+
.field {
385+
.lib-form-field-type-revert(@_type: block);
386+
}
387+
384388
bottom: auto;
385389
.lib-css(top, @desktop-popup-position-top);
386390
.lib-css(left, @desktop-popup-position-left);
387391
.lib-css(margin-left, @desktop-popup-margin-left);
388392
.lib-css(width, @desktop-popup-width);
389393
right: auto;
390-
391-
.field {
392-
.lib-form-field-type-revert(@_type: block);
393-
}
394394
}
395395
}
396396

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,10 +177,10 @@
177177
.media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__m) {
178178
.products-grid.wishlist {
179179
margin-bottom: @indent__l;
180-
margin-right: -@indent__s;
180+
margin-right: 0;
181181
.product {
182182
&-item {
183-
padding: @indent__base @indent__s @indent__base @indent__base;
183+
padding: @indent__base 0 @indent__base 0;
184184
position: relative;
185185

186186
&-photo {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@
435435
.product {
436436
&-item {
437437
&-checkbox {
438-
left: 20px;
438+
left: 0;
439439
position: absolute;
440440
top: 20px;
441441
}

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,11 +185,11 @@
185185
.media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__m) {
186186
.products-grid.wishlist {
187187
margin-bottom: @indent__l;
188-
margin-right: -@indent__s;
188+
margin-right: 0;
189189

190190
.product {
191191
&-item {
192-
padding: @indent__base @indent__s @indent__base @indent__base;
192+
padding: @indent__base 0 @indent__base 0;
193193
position: relative;
194194

195195
&-photo {

0 commit comments

Comments
 (0)