feat(orders): ORDERS-7770 add responsive styling for returns details page for desktop/tablet/mobile views - #2706
Merged
Conversation
…page for desktop/tablet/mobile views
jpajar
requested review from
BC-SEven,
bc-bryan,
bc-vivekaggarwal,
denis-bc and
matt-evangelidis
July 16, 2026 06:39
There was a problem hiding this comment.
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-itemfrom 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); |
bc-vivekaggarwal
approved these changes
Jul 16, 2026
denis-bc
approved these changes
Jul 17, 2026
BC-SEven
approved these changes
Jul 17, 2026
jpajar
merged commit Jul 17, 2026
32162bb
into
feature/PROJECT-7525-new-returns-flow
9 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What?
This PR ensures that the returns details page
/account.php?action=view_return&return_id=0dfa77f9-43e3-45c0-92e5-2f80c28ddd70has responsive design for mobile, tablet and desktop viewports.Requirements
Tickets / Documentation
https://bigcommercecloud.atlassian.net/browse/ORDERS-7770
Screenshots (if appropriate)
Desktop:

Tablet:

Mobile:

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