feat(returns): ORDERS-7771 tighten spacing on mobile and tablet viewports#2694
Conversation
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 2 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 87f3cd3. Configure here.
|
|
||
| @include breakpoint("medium") { | ||
| font-size: fontSize("smaller"); | ||
| } |
There was a problem hiding this comment.
Shared title styles widen scope
Medium Severity
Mobile/tablet font and margin updates on .account-product-title and .account-product-detail-heading apply account-wide, not only returns. Order list, order line items, and account messages inherit smaller titles and tighter detail labels though the change targets the returns list.
Additional Locations (1)
Reviewed by Cursor Bugbot for commit 87f3cd3. Configure here.
| margin: 0 0 spacing("eighth"); | ||
| text-transform: inherit; | ||
|
|
||
| margin: 0 0 spacing("quarter"); |
There was a problem hiding this comment.
Duplicate margin property ignored
Low Severity
.account-product-title declares margin twice in a row; the first spacing("eighth") value is always overridden by spacing("quarter"), so the earlier rule is dead and easy to misread during later edits.
Reviewed by Cursor Bugbot for commit 87f3cd3. Configure here.


What?
Adds css changes for the mobile and tablet viewport so they layout per the figma reference.
Requirements
Tickets / Documentation
Add links to any relevant tickets and documentation.
Screenshots (if appropriate)
Note
Low Risk
Presentation-only SCSS in shared account components; no logic, auth, or data changes. Minor cross-page visual impact on other account lists using the same title classes.
Overview
Tightens account list row layout on small and medium viewports so the returns list matches the Figma reference, with a Draft CHANGELOG entry for ORDERS-7771.
In
_account.scss,.account-listItem-summaryuses a smaller flex gap and pushes list buttons to the trailing edge viamargin-left: auto..account-listItem-summary-mainaddsmin-width: 0on the product title and order status label so long text wraps instead of overflowing in flex rows..account-product-titleis smaller on narrow screens (fontSize("smallest"), stepping up at themediumbreakpoint) with adjusted bottom margin;.account-product-detail-headingspacing is slightly reduced. Because these selectors are shared account styles, the typography tweaks can show on other account list views that reuse the same classes—not only returns.Reviewed by Cursor Bugbot for commit 87f3cd3. Bugbot is set up for automated code reviews on this repo. Configure here.