Bug 1557006 - Port bug 1544916: migrate dialog binding to Custom Element (CSS changes). r=jorgk
authorRichard Marti <richard.marti@gmail.com>
Wed, 05 Jun 2019 13:32:18 +0200
changeset 35785 e42c6f062a6cc455125a64824379712e55f1a0c3
parent 35784 0a9583f964a9bd49b10279c486f55066d18c9642
child 35786 8aec6a4a364f83f339a27a4735a110874c84c180
push id392
push userclokep@gmail.com
push dateMon, 02 Sep 2019 20:17:19 +0000
reviewersjorgk
bugs1557006, 1544916
Bug 1557006 - Port bug 1544916: migrate dialog binding to Custom Element (CSS changes). r=jorgk
mail/themes/shared/mail/incontentprefs/dialog.css
--- a/mail/themes/shared/mail/incontentprefs/dialog.css
+++ b/mail/themes/shared/mail/incontentprefs/dialog.css
@@ -16,21 +16,26 @@ prefpane,
 prefpane {
   -moz-box-orient: vertical;
 }
 
 .contentPane {
   margin: 0;
 }
 
-.contentPane,
-dialog > .dialog-content-box {
+.contentPane {
+  /* This allows the focus ring to display fully when scrolling is enabled.
+    Note: dialog.js CE have a matching style for dialog-content-box */
   padding: 4px;
 }
 
+.contentPane.doScroll {
+  overflow-y: auto;
+}
+
 tabbox {
   /* override the rule in certManager.xul */
   margin: 0 0 5px !important;
 }
 
 tabpanels {
   font-size: 1em;
 }