Bug 1395596 - Avoid changing the bookmarks toolbar's height when entering customize mode and the toolar is non-empty. r?gijs
MozReview-Commit-ID: KSCW3LkpZNA
--- a/browser/themes/shared/browser.inc.css
+++ b/browser/themes/shared/browser.inc.css
@@ -44,20 +44,21 @@
max-height: 0;
transition: min-height 170ms ease-out, max-height 170ms ease-out, visibility 170ms linear;
}
#navigator-toolbox > toolbar[customizing]:not(#toolbar-menubar):not(#TabsToolbar):not(#nav-bar) {
outline: 1px dashed;
outline-offset: -3px;
-moz-outline-radius: 2px;
+}
+
+#navigator-toolbox > toolbar[customizing]:not(#toolbar-menubar):not(#TabsToolbar):not(#nav-bar):empty {
/* Avoid the toolbar having no height when there's no items in it */
min-height: 22px;
- /* There's no border in customize mode, so we don't need extra padding. */
- padding-bottom: 0;
}
/* Library animation */
#navigator-toolbox[animate] {
position: relative;
}