Bug 1502670 - Fix some menubutton glitches on Mac and Linux. r=aceman
authorRichard Marti <richard.marti@gmail.com>
Sat, 27 Oct 2018 22:47:00 +0200
changeset 33603 50bc86d0ddd6bd672deff8dc08da21c992a17ab1
parent 33602 41cd1f527410813bb22fdc7a9e4f5f4a1b2ba761
child 33604 f3acec1ae9e95371b699155f0b572eb9b12ecedf
push id388
push userclokep@gmail.com
push dateMon, 28 Jan 2019 20:54:56 +0000
reviewersaceman
bugs1502670
Bug 1502670 - Fix some menubutton glitches on Mac and Linux. r=aceman
mail/themes/linux/mail/messenger.css
mail/themes/osx/mail/messenger.css
--- a/mail/themes/linux/mail/messenger.css
+++ b/mail/themes/linux/mail/messenger.css
@@ -759,22 +759,27 @@ statusbarpanel {
 }
 
 /* menu-button */
 
 button[type="menu-button"] {
   -moz-appearance: dualbutton;
 }
 
+.button-menubutton-button {
+  margin: 0;
+}
+
 .button-menubutton-dropmarker {
   -moz-appearance: toolbarbutton-dropdown !important;
 }
 
 .button-menubutton-dropmarker {
-  margin-inline-end: 3px;
+  margin-left: 3px;
+  margin-right: 3px;
 }
 
 .contentTabInstance {
   background-color: -moz-dialog;
 }
 
 .contentTabInstance:-moz-lwtheme {
   background-color: transparent;
--- a/mail/themes/osx/mail/messenger.css
+++ b/mail/themes/osx/mail/messenger.css
@@ -642,18 +642,22 @@ button[type="menu-button"] > button {
 
 .button-menubutton-dropmarker {
   -moz-appearance: none !important;
   border: none;
   background-color: transparent !important;
   margin: 1px;
 }
 
+.dropmarker-icon {
+  list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif");
+}
+
 button[type="menu-button"] > dropmarker {
-  margin-inline-end: -2px;
+  margin-inline-end: -7px;
 }
 
 /* Status bar */
 
 #status-bar:-moz-lwtheme  {
   padding-top: 1px;
 }