Bug 1624612 - fix sizing of the cert manager dialog, r=jaws,keeler
authorGijs Kruitbosch <gijskruitbosch@gmail.com>
Tue, 07 Apr 2020 18:05:02 +0000
changeset 522751 0ce30c340f78b6d89d12f25f050a0ed841eecf15
parent 522750 fbce7a3c3bbb44465c6113d58510136882475c03
child 522752 41485ce7600fb8474a25a376c37cefcb0afce26c
push id112281
push usergijskruitbosch@gmail.com
push dateTue, 07 Apr 2020 19:07:54 +0000
treeherderautoland@0ce30c340f78 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjaws, keeler
bugs1624612
milestone77.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 1624612 - fix sizing of the cert manager dialog, r=jaws,keeler Differential Revision: https://phabricator.services.mozilla.com/D70057
browser/themes/shared/incontentprefs/preferences.inc.css
security/manager/pki/resources/content/certManager.xhtml
--- a/browser/themes/shared/incontentprefs/preferences.inc.css
+++ b/browser/themes/shared/incontentprefs/preferences.inc.css
@@ -540,16 +540,17 @@ button > hbox > label {
   /* `transparent` will use the dialogText color in high-contrast themes and
      when page colors are disabled */
   border: 1px solid transparent;
   border-radius: 3.5px;
   box-shadow: 0 2px 6px 0 rgba(0,0,0,0.3);
   display: -moz-box;
   margin: 0;
   padding: 0;
+  overflow-x: auto;
 }
 
 .dialogBox[resizable="true"] {
   resize: both;
   overflow: hidden;
   min-height: 20em;
   min-width: 66ch;
 }
@@ -577,16 +578,17 @@ button > hbox > label {
   margin-inline: 0 8px;
 }
 
 .dialogFrame {
   margin: 20px;
   -moz-box-flex: 1;
   /* Default dialog dimensions */
   width: 66ch;
+  min-width: inherit;
 }
 
 /**
  * End Dialog
  */
 
 /**
  * Font group and font dialog menulist fixes
--- a/security/manager/pki/resources/content/certManager.xhtml
+++ b/security/manager/pki/resources/content/certManager.xhtml
@@ -7,17 +7,17 @@
 
 <!DOCTYPE window>
 
 <window windowtype="mozilla:certmanager"
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
         xmlns:html="http://www.w3.org/1999/xhtml"
         data-l10n-id="certmgr-title"
         onload="LoadCerts();"
-        style="width: 40em; height: 32em;"
+        style="min-height: 32em;"
         persist="screenX screenY width height">
 <dialog id="certmanager"
         buttons="accept">
 
   <linkset>
     <html:link rel="localization" href="security/certificates/certManager.ftl"/>
   </linkset>