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
This commit is contained in:
Bernard Igiri 2021-07-20 18:11:07 +00:00
Родитель 2aa145db40
Коммит 75326296ea
2 изменённых файлов: 9 добавлений и 4 удалений

Просмотреть файл

@ -65,6 +65,14 @@ panelmultiview .toolbaritem-combined-buttons > spacer.before-label {
display: none; 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 */ /* Override OSX-specific toolkit styles for the bookmarks panel */
menu.subviewbutton > .menu-right { menu.subviewbutton > .menu-right {
margin-inline-end: -4px; margin-inline-end: -4px;

Просмотреть файл

@ -1087,6 +1087,7 @@ panelview .toolbarbutton-1,
padding-block: 0; padding-block: 0;
} }
#BMB_bookmarksPopup .subviewbutton > .menu-iconic-text,
#PlacesToolbar menu > .menu-iconic-text, #PlacesToolbar menu > .menu-iconic-text,
#PlacesToolbar menuitem > .menu-iconic-text, #PlacesToolbar menuitem > .menu-iconic-text,
.addon-banner-item > .toolbarbutton-text, .addon-banner-item > .toolbarbutton-text,
@ -1417,10 +1418,6 @@ menuitem.subviewbutton@menuStateActive@,
color: inherit; 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 */ /* Disabled (empty) item is always alone and never has an icon, so fix its left padding */
#BMB_bookmarksPopup menupopup[emptyplacesresult] .bookmark-item.subviewbutton { #BMB_bookmarksPopup menupopup[emptyplacesresult] .bookmark-item.subviewbutton {
padding-left: 6px; padding-left: 6px;