Bug 1389713 - Push the badge a little closer to the button in compact mode to avoid overflow. r=dao, ui-r=abenson
MozReview-Commit-ID: GYnBepeOIf0
--- a/browser/themes/shared/toolbarbuttons.inc.css
+++ b/browser/themes/shared/toolbarbuttons.inc.css
@@ -285,8 +285,14 @@ toolbarbutton.bookmark-item {
/* Force the display of the label for bookmarks */
.bookmark-item > .toolbarbutton-text {
display: -moz-box !important;
}
#PlacesToolbarItems > .bookmark-item > .toolbarbutton-icon[label]:not([label=""]) {
margin-inline-end: 4px;
}
+
+/* Remove a pixel of margin on the end so that the badge doesn't
+ * overflow the toolbar and push the button into the overflow menu. */
+:root[uidensity=compact] .toolbarbutton-badge {
+ margin-inline-end: -7px !important;
+}