Closed Bug 1701024 Opened 5 years ago Closed 8 months ago

Reopen All X footer item in Recently Closed Tabs / Recently Closed Windows has incorrect left alignment

Categories

(Firefox :: Menus, defect, P2)

defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: mconley, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [proton-hamburger-menu] [priority:2c])

Attachments

(2 files)

Attached image image.png

See screenshot. The text in the item should be left aligned to the tab/window icons.

Adding these:

.panel-subview-footer-button > .toolbarbutton-icon {
  display: none;
}

.panel-subview-footer-button > .toolbarbutton-text {
  padding-inline-start: 0;
}

and moving this line:
https://searchfox.org/mozilla-central/rev/bb37e6fe8bbe383a57a4ad21a201e26416613ca1/browser/themes/shared/customizableui/panelUI.inc.css#1305
to a @supports not proton block seem to fix it for me on Windows.

Not sure if that's the right fix though, I don't know if there are (or will be) footer-buttons that should have an icon...
If it's the latter then referencing .subviewbutton.restoreallitem in the 2 rules above instead of .panel-subview-footer-button should do it.

Severity: -- → S4
Priority: -- → P2
Whiteboard: [proton-hamburger-menu] → [proton-hamburger-menu] [priority:2c]
Attached image Fixed

This by now looks good to me for both tabs and windows on latest Windows Nighly at least.

Same for me as comment #2, so (belatedly) closing this out.

Status: NEW → RESOLVED
Closed: 8 months ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: