Bug 1545854 - Don't show the menulist's menupopup when in customize mode. r=Paenglab
authorMagnus Melin <mkmelin+mozilla@iki.fi>
Wed, 22 May 2019 19:38:30 +0200
changeset 35700 c999415db730294e7cc75c8e509ad1818695978c
parent 35699 588c1b465632525681d16fa331842ca610771504
child 35701 0326ae4cf85da366cc057042780275c03f4aa1f7
push id392
push userclokep@gmail.com
push dateMon, 02 Sep 2019 20:17:19 +0000
reviewersPaenglab
bugs1545854
Bug 1545854 - Don't show the menulist's menupopup when in customize mode. r=Paenglab
mail/themes/shared/mail/messenger.css
--- a/mail/themes/shared/mail/messenger.css
+++ b/mail/themes/shared/mail/messenger.css
@@ -220,16 +220,22 @@ html|ul.addon-installed-list {
   background-color: rgba(249,249,250,.2);
 }
 
 .toolbarbutton-1:not(.qfb-tag-button),
 .toolbarbutton-menubutton-button {
   color: inherit !important;
 }
 
+/* Don't show a menupopup in customize mode */
+toolbarpaletteitem menulist,
+toolbarpaletteitem toolbarbutton {
+  pointer-events: none;
+}
+
 /* :::::: throbber :::::::::: */
 
 #throbber-box {
   width: 16px;
   min-height: 16px;
   margin: 0 3px;
 }