Bug 1393411 - avoid setting the max-width of bookmark items with too great a specificity, r?dao
MozReview-Commit-ID: 1DePiSCuI9U
--- a/browser/themes/shared/toolbarbuttons.inc.css
+++ b/browser/themes/shared/toolbarbuttons.inc.css
@@ -262,20 +262,26 @@ toolbarbutton.bookmark-item:not(.subview
:root[uidensity=compact] toolbarbutton.bookmark-item:not(.subviewbutton) {
margin: 0 1px;
}
:root[uidensity=touch] toolbarbutton.bookmark-item:not(.subviewbutton) {
padding: 4px;
}
-toolbarbutton.bookmark-item:not(#bookmarks-toolbar-placeholder) {
+toolbarbutton.bookmark-item {
max-width: 13em;
}
+/* Not in a :not(...) clause in the rule above to avoid unduly increasing
+ * that rule's specificity. */
+#bookmarks-toolbar-placeholder {
+ max-width: unset;
+}
+
.bookmark-item > .toolbarbutton-icon {
width: 16px;
height: 16px;
}
/* Force the display of the label for bookmarks */
.bookmark-item > .toolbarbutton-text {
display: -moz-box !important;