Bug 1582713 - Hide the What's New button from the toolbar when in Customize mode r=Gijs
authorAndrei Oprea <andrei.br92@gmail.com>
Tue, 24 Sep 2019 16:29:21 +0000
changeset 494860 bdd3e554925b0e8ca03f7ffade6cfe91a98f8ddc
parent 494859 b88f44533c9731dc5d3cd7d25dc1a54a1c4bec96
child 494861 e6f9d4a2f40c43052a582d0fcb427c02b864232a
push id96282
push useraoprea@mozilla.com
push dateWed, 25 Sep 2019 08:56:44 +0000
treeherderautoland@bdd3e554925b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersGijs
bugs1582713
milestone71.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 1582713 - Hide the What's New button from the toolbar when in Customize mode r=Gijs Differential Revision: https://phabricator.services.mozilla.com/D46964
browser/base/content/browser.css
--- a/browser/base/content/browser.css
+++ b/browser/base/content/browser.css
@@ -242,16 +242,20 @@ toolbar[overflowable][customizing] > .cu
   overflow: hidden;
 }
 
 toolbar:not([overflowing]) > .overflow-button,
 toolbar[customizing] > .overflow-button {
   display: none;
 }
 
+toolbar[customizing] #whats-new-menu-button {
+  display: none;
+}
+
 window:not([chromehidden~="toolbar"]) #nav-bar[nonemptyoverflow] > .overflow-button,
 #nav-bar[customizing] > .overflow-button {
   display: -moz-box;
 }
 
 /* The ids are ugly, but this should be reasonably performant, and
  * using a tagname as the last item would be less so.
  */