Skip to content

Commit 8ad7b1f

Browse files
author
priti
committed
Wishlist-alignment-issue-at-mobile
1 parent d7ac52b commit 8ad7b1f

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@
350350
.product {
351351
&-item {
352352
&-checkbox {
353-
left: 20px;
353+
left: 0;
354354
position: absolute;
355355
top: 20px;
356356
}

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
@@ -429,7 +429,7 @@
429429
.product {
430430
&-item {
431431
&-checkbox {
432-
left: 20px;
432+
left: 0;
433433
position: absolute;
434434
top: 20px;
435435
}

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)