Bug 1358428 - in-content dialogs: Set mac help button width to auto so there’s always room for the label text. r=jaws.
authorstefanh@inbox.com
Mon, 08 May 2017 21:06:12 +0200
changeset 391495 eddbaec5921785b301cc2ae36f6789f69c131023
parent 391494 1e8d97df010b40a923cc01b28595f13079b85df5
child 391496 656d4714e8031d95fdf4d57b997215c1ced3364f
push id53
push userfmarier@mozilla.com
push dateMon, 15 May 2017 17:28:28 +0000
reviewersjaws
bugs1358428
milestone55.0a1
Bug 1358428 - in-content dialogs: Set mac help button width to auto so there’s always room for the label text. r=jaws.
toolkit/themes/osx/global/in-content/common.css
--- a/toolkit/themes/osx/global/in-content/common.css
+++ b/toolkit/themes/osx/global/in-content/common.css
@@ -23,16 +23,21 @@ xul|menulist {
 
 xul|button,
 html|button {
   /* use the same margin of other elements for the alignment */
   margin-left: 4px;
   margin-right: 4px;
 }
 
+xul|button[dlgtype="help"] {
+  -moz-appearance: none;
+  width: auto;
+}
+
 xul|caption {
   padding-inline-start: 0;
 }
 
 xul|groupbox > xul|*.groupbox-body {
   padding: 0;
 }