Bug 1608518 - Set a max-height on the dialog to avoid growing the Manage Identities dialog excessively. r+a=mkmelin
authorRichard Marti <richard.marti@gmail.com>
Sun, 12 Jan 2020 20:18:13 +0100
changeset 37000 d7e99ea4d5ce43c8e4aa02c6fb438b2bb6b08286
parent 36999 a1082c92969ad53a34fa2d7510c2c61172e933f5
child 37001 af5841811fed76ed116342bf5f82f6889af8c584
push id2545
push usergeoff@darktrojan.net
push dateWed, 15 Jan 2020 21:10:47 +0000
treeherdercomm-beta@d7e99ea4d5ce [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1608518
Bug 1608518 - Set a max-height on the dialog to avoid growing the Manage Identities dialog excessively. r+a=mkmelin
mailnews/base/prefs/content/am-identities-list.xhtml
--- a/mailnews/base/prefs/content/am-identities-list.xhtml
+++ b/mailnews/base/prefs/content/am-identities-list.xhtml
@@ -6,17 +6,17 @@
 <!-- This Source Code Form is subject to the terms of the Mozilla Public
    - License, v. 2.0. If a copy of the MPL was not distributed with this
    - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
 
 <!DOCTYPE window SYSTEM "chrome://messenger/locale/am-identities-list.dtd">
 
 <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns:html="http://www.w3.org/1999/xhtml"
         onload="onLoad();"
-        style="width: 40em;">
+        style="width: 40em; max-height: 20em;">
 <dialog buttons="accept"
         buttonlabelaccept="&identitiesListClose.label;"
         buttonaccesskeyaccept="&identitiesListClose.accesskey;">
 <stringbundle id="bundle_prefs" src="chrome://messenger/locale/prefs.properties"/>
 <script src="chrome://messenger/content/am-identities-list.js"/>
 
 <commandset>
   <command id="cmd_add"     oncommand="openIdentityEditor(null);"/>