Skip to content

feat(orders): ORDERS-7770 add responsive styling for returns details page for desktop/tablet/mobile views - #2706

Merged
jpajar merged 1 commit into
feature/PROJECT-7525-new-returns-flowfrom
ORDERS-7770
Jul 17, 2026
Merged

feat(orders): ORDERS-7770 add responsive styling for returns details page for desktop/tablet/mobile views#2706
jpajar merged 1 commit into
feature/PROJECT-7525-new-returns-flowfrom
ORDERS-7770

Conversation

@jpajar

@jpajar jpajar commented Jul 16, 2026

Copy link
Copy Markdown

What?

This PR ensures that the returns details page /account.php?action=view_return&return_id=0dfa77f9-43e3-45c0-92e5-2f80c28ddd70 has responsive design for mobile, tablet and desktop viewports.

Requirements

  • CHANGELOG.md entry added (required for code changes only)

Tickets / Documentation

https://bigcommercecloud.atlassian.net/browse/ORDERS-7770

Screenshots (if appropriate)

Desktop:
image

Tablet:
image

Mobile:
image


Note

Cursor Bugbot is generating a summary for commit d067100. Configure here.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the returns details page item layout styling to be responsive across mobile/tablet/desktop by restructuring the line-item layout.

Changes:

  • Converted .returnDetails-item from flexbox to CSS Grid to control placement of thumbnail, info, and meta blocks across breakpoints.
  • Added a desktop (large) grid layout that introduces a fixed-width meta column while keeping mobile/tablet meta content under the item title.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 106 to +110
.returnDetails-item {
display: flex;
align-items: flex-start;
gap: remCalc(16px);
// Using grid instead of flex as it keeps the meta directly under the title instead of
// being pushed down by the thumbnail's height.
display: grid;
grid-template-columns: auto minmax(0, 1fr);
@jpajar
jpajar merged commit 32162bb into feature/PROJECT-7525-new-returns-flow Jul 17, 2026
9 checks passed
@jpajar
jpajar deleted the ORDERS-7770 branch July 17, 2026 03:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants