Skip to content

Recently viewed products in Luma theme does not fit on screen #27058

Closed
@Zyles

Description

@Zyles

Using the "recently viewed products" widget on mobile will break the viewport and forcing sidescrolling.

The problem is even worse when using translated "add to cart" that make the button longer.

Preconditions (*)

  1. Magento 2.3.3
  2. Luma theme
  3. Mobile view

Steps to reproduce (*)

  1. Add a new widget for "Recently viewed products"
    2 .Select Layout update "All pages" and container "Sidebar Main"
  2. Visit some products in mobile view until the widget appears in mobile view

Expected result (*)

Each product should wrap on a new line to fit the add to cart button, not be on a 2x grid.

Actual result (*)

The add to cart goes outside the viewport, and the images overlap the previous product.

image

If you have a language with longer text than "add to cart" the effect will be worse:

image

Metadata

Metadata

Assignees

Labels

Area: Design/FrontendComponent: WidgetFixed in 2.4.xThe issue has been fixed in 2.4-develop branchIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentPriority: P2A defect with this priority could have functionality issues which are not to expectations.Progress: doneReported on 2.3.3Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchSeverity: S3Affects non-critical data or functionality and does not force users to employ a workaround.Triage: DoneHas been reviewed and prioritized during Triage with Product Managers

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions