Skip to content

Commit 2bd2495

Browse files
authored
ENGCOM-3820: Changes for Product-per-row-not-proper-on-listing-page #20168
2 parents b12d9fe + bb88b60 commit 2bd2495

File tree

1 file changed

+5
-5
lines changed
  • app/design/frontend/Magento/luma/Magento_Catalog/web/css/source/module

1 file changed

+5
-5
lines changed

app/design/frontend/Magento/luma/Magento_Catalog/web/css/source/module/_listings.less

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242

4343
.products-grid & {
4444
display: inline-block;
45-
width: 100%/2;
45+
width: 100%/2.04;
4646
}
4747

4848
&:extend(.abs-add-box-sizing all);
@@ -363,7 +363,7 @@
363363
.products-grid {
364364
.product-item {
365365
margin-bottom: @indent__base;
366-
width: 100%/3;
366+
width: 100%/3.04;
367367
}
368368
}
369369

@@ -374,7 +374,7 @@
374374
.page-products.page-layout-3columns {
375375
.products-grid {
376376
.product-item {
377-
width: 100%/3;
377+
width: 100%/3.04;
378378
}
379379
}
380380
}
@@ -388,7 +388,7 @@
388388
.page-products {
389389
.products-grid {
390390
.product-item {
391-
width: 100%/3;
391+
width: 100%/3.04;
392392
}
393393
}
394394
}
@@ -443,7 +443,7 @@
443443
.product-item {
444444
margin-left: calc(~'(100% - 4 * 24.439%) / 3');
445445
padding: 5px;
446-
width: 24.439%;
446+
width: 24.09%;
447447

448448
&:nth-child(4n + 1) {
449449
margin-left: 0;

0 commit comments

Comments
 (0)