Closed Bug 1851839 Opened 1 year ago Closed 1 year ago

Sidebar close button alignment issues and header fixed to the top

Categories

(Firefox :: Shopping, defect, P2)

defect

Tracking

()

VERIFIED FIXED
119 Branch
Tracking Status
firefox119 --- verified

People

(Reporter: jhirsch, Assigned: kpatenio)

References

Details

(Whiteboard: [fidefe-shopping])

Attachments

(1 file)

The close button is right-aligned to the cards below it, which looks funny on hover or when there is a visible scrollbar.

Priority: -- → P2

According to the Figma, the header is supposed to be fixed to the top of the sidebar while scrolling. Currently, the header does not behave this way. I think addressing that will facilitate how we align the close button.

Assignee: nobody → kpatenio
Severity: -- → S3
Whiteboard: [fidefe-shopping]
Attachment #9353792 - Attachment description: WIP: Bug 1851839 - keep shopping sidebar header position fixed and fix close button alignment → Bug 1851839 - keep shopping sidebar header position fixed and fix close button alignment

Some new updates/info:

  • while removing the header icon + reducing font size improved the close button alignment, it's not perfectly aligned in some instances. I'm thinking all we need to do to fix this is adjust button margin and header box-sizing
  • the header is also supposed to be positioned/stickied to the top of the sidebar, even when there's overflow

This ticket was originally meant for fixing the close button alignment only, but I accidentally went out of scope in my first patch. Given these new details, however, I think it's best to simply repurpose the ticket for the changes I mentioned above

Summary: Sidebar close button alignment issues → Sidebar close button alignment issues and header fixed to the top
Attachment #9353792 - Attachment description: Bug 1851839 - keep shopping sidebar header position fixed and fix close button alignment → WIP: Bug 1851839 - keep shopping sidebar header position fixed and fix close button alignment
Attachment #9353792 - Attachment description: WIP: Bug 1851839 - keep shopping sidebar header position fixed and fix close button alignment → Bug 1851839 - keep shopping sidebar header position fixed and fix close button alignment
See Also: → 1852141
Pushed by kpatenio@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c5416c06c567 keep shopping sidebar header position fixed and fix close button alignment r=desktop-theme-reviewers,shopping-reviewers,niklas
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 119 Branch

I have verified the fix using Firefox Nightly 119.0a1 (20230924092410) on Windows 10, MacOS 11 and Ubuntu 20.04 and can also confirm that this indeed fixed Bug 1854427 as well, the header does stay on-top accordingly.

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: