Skip to content

Commit 3fac0b3

Browse files
authored
ENGCOM-6622: [Fixed Compare Products section not showing in mobile view under 767px] #26418
2 parents f30e1b5 + 5b4ce2f commit 3fac0b3

File tree

2 files changed

+3
-4
lines changed
  • app/design/frontend/Magento

2 files changed

+3
-4
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -543,8 +543,8 @@
543543
}
544544

545545
.compare,
546-
.product-item-actions .actions-secondary > .action.tocompare,
547-
[class*='block-compare'] {
546+
.product-addto-links .action.tocompare,
547+
.product-item-actions .actions-secondary > .action.tocompare {
548548
display: none;
549549
}
550550
}

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1002,8 +1002,7 @@
10021002
}
10031003

10041004
.media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__m) {
1005-
.compare.wrapper,
1006-
[class*='block-compare'] {
1005+
.compare.wrapper {
10071006
display: none;
10081007
}
10091008
.catalog-product_compare-index {

0 commit comments

Comments
 (0)