Skip to content

Commit 1aed73e

Browse files
[Fixed Compare Products section not showing in mobile view under 767px]
1 parent d001f7b commit 1aed73e

File tree

2 files changed

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

2 files changed

+2
-4
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -544,8 +544,7 @@
544544

545545
.compare,
546546
.product-addto-links .action.tocompare,
547-
.product-item-actions .actions-secondary > .action.tocompare,
548-
[class*='block-compare'] {
547+
.product-item-actions .actions-secondary > .action.tocompare {
549548
display: none;
550549
}
551550
}

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
@@ -1007,8 +1007,7 @@
10071007
}
10081008

10091009
.media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__m) {
1010-
.compare.wrapper,
1011-
[class*='block-compare'] {
1010+
.compare.wrapper {
10121011
display: none;
10131012
}
10141013
.catalog-product_compare-index {

0 commit comments

Comments
 (0)