Bug 1395596 - Avoid changing the bookmarks toolbar's height when entering customize mode and the toolar is non-empty. r=Gijs
authorDão Gottwald <dao@mozilla.com>
Tue, 05 Sep 2017 13:14:26 +0200
changeset 428387 c32a5bb6a6dff2efc8951d04f4567b6b6c8372e7
parent 428386 82d9f4f8887e482faba1be4aaa5376f16dbf67d5
child 428388 ed4d0bcad1da602f2957ef2019fd2c1ab8b746d3
push id7761
push userjlund@mozilla.com
push dateFri, 15 Sep 2017 00:19:52 +0000
treeherdermozilla-beta@c38455951db4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersGijs
bugs1395596
milestone57.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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
browser/themes/shared/browser.inc.css
--- 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;
 }