Skip to content

Commit 120a8c0

Browse files
authored
Fixed WhiteSpace issue in product grid
There are some whitespaces in between li tags, that's why product grid showing 3 products instead of 4. Mention in #20140 and #21244
1 parent 4f6c78e commit 120a8c0

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@
3434

3535
.product {
3636
&-items {
37-
font-size: 0;
37+
.lib-inline-block-space-container();
3838
&:extend(.abs-reset-list all);
3939
}
4040

4141
&-item {
42-
font-size: 1.4rem;
42+
.lib-inline-block-space-item();
4343
vertical-align: top;
4444

4545
.products-grid & {

0 commit comments

Comments
 (0)