From 75326296ea7224faf25f88ba062c170a877ce44e Mon Sep 17 00:00:00 2001 From: Bernard Igiri Date: Tue, 20 Jul 2021 18:11:07 +0000 Subject: [PATCH] Bug 1710629 - Adjust bookmarks menu button panel padding r=mak Modified bookmarks menu button panel padding in Windows and Linux to match the appearance of that panel in MacOS. Differential Revision: https://phabricator.services.mozilla.com/D119643 --- browser/themes/osx/customizableui/panelUI.css | 8 ++++++++ browser/themes/shared/customizableui/panelUI.inc.css | 5 +---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/browser/themes/osx/customizableui/panelUI.css b/browser/themes/osx/customizableui/panelUI.css index 35e614069e72..775ef4bcc638 100644 --- a/browser/themes/osx/customizableui/panelUI.css +++ b/browser/themes/osx/customizableui/panelUI.css @@ -65,6 +65,14 @@ panelmultiview .toolbaritem-combined-buttons > spacer.before-label { display: none; } +#BMB_bookmarksPopup .subviewbutton > .menu-iconic-left { + margin-inline-end: 3px; +} + +#BMB_bookmarksPopup .subviewbutton > .menu-iconic-text { + padding-inline-start: 0; +} + /* Override OSX-specific toolkit styles for the bookmarks panel */ menu.subviewbutton > .menu-right { margin-inline-end: -4px; diff --git a/browser/themes/shared/customizableui/panelUI.inc.css b/browser/themes/shared/customizableui/panelUI.inc.css index 38fa7a457e5d..d0ba93189b15 100644 --- a/browser/themes/shared/customizableui/panelUI.inc.css +++ b/browser/themes/shared/customizableui/panelUI.inc.css @@ -1087,6 +1087,7 @@ panelview .toolbarbutton-1, padding-block: 0; } +#BMB_bookmarksPopup .subviewbutton > .menu-iconic-text, #PlacesToolbar menu > .menu-iconic-text, #PlacesToolbar menuitem > .menu-iconic-text, .addon-banner-item > .toolbarbutton-text, @@ -1417,10 +1418,6 @@ menuitem.subviewbutton@menuStateActive@, color: inherit; } -#BMB_bookmarksPopup .subviewbutton > .menu-iconic-left { - margin-inline-end: 3px; -} - /* Disabled (empty) item is always alone and never has an icon, so fix its left padding */ #BMB_bookmarksPopup menupopup[emptyplacesresult] .bookmark-item.subviewbutton { padding-left: 6px;