Closed Bug 2062663 Opened 22 days ago Closed 12 days ago

<notification-message> close button isn't centered on Nova

Categories

(Toolkit :: UI Widgets, defect, P2)

defect

Tracking

()

RESOLVED FIXED
156 Branch
Tracking Status
firefox156 --- fixed

People

(Reporter: nchevobbe, Assigned: akulyk)

References

(Depends on 1 open bug, Blocks 2 open bugs)

Details

(Whiteboard: [recomp-nova])

Attachments

(3 files)

Attached image hovered close button

The notification button doesn't seem to be centered. This is more visible when the button is hovered.
Looks similar to the issue we had for preference dialog in Bug 2054029

We used to have some clever CSS logic for ensuring that the icon, text, and close button were all vertically aligned properly: https://searchfox.org/firefox-main/rev/78cec12077df51c8f48b8a485a825b446f0c6d02/toolkit/content/widgets/moz-message-bar/moz-message-bar.css#48

It looks like that got lost in the shuffle of making Nova style changes, likely the fix here is just to bring it back rather than relying only on Flexbox. Likely it'll make sense to just fix this in bug 2054561.

Severity: -- → S3
Depends on: 2054561
Priority: -- → P2
Whiteboard: [recomp-nova]
See Also: → 2064409

Could you please clarify whether this bug is about centering the close icon within the button, or centering the button within its container? Thanks!

Flags: needinfo?(nchevobbe)
Attached image close button

(In reply to akulyk from comment #2)

Could you please clarify whether this bug is about centering the close icon within the button, or centering the button within its container? Thanks!

sorry, my wording wasn't accurate enough. I mean the close icon is not properly horizontally centered within the button (see screenshot)

Flags: needinfo?(nchevobbe)
Assignee: nobody → akulyk
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 12 days ago
Resolution: --- → FIXED
Target Milestone: --- → 156 Branch
Duplicate of this bug: 2064409
QA Whiteboard: [qa-triage-done-c157/b156] [qa-ver-needed-c157/b156]
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: