Bug 541052 - Make the overflow changes more specific, to avoid messing with other extension's toolbars. ui-r=clarkbw, r=dmose
authorBlake Winton <bwinton@latte.ca>
Wed, 17 Feb 2010 10:09:47 -0500
changeset 4929 97a3ccf97728
parent 4928 3f7b798edc8a
child 4930 2b5f3bd9e71a
push id3836
push userbwinton@latte.ca
push dateWed, 17 Feb 2010 15:09:56 +0000
treeherdercomm-central@97a3ccf97728 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersclarkbw, dmose
bugs541052
Bug 541052 - Make the overflow changes more specific, to avoid messing with other extension's toolbars. ui-r=clarkbw, r=dmose
mail/base/content/messenger.css
--- a/mail/base/content/messenger.css
+++ b/mail/base/content/messenger.css
@@ -246,13 +246,18 @@ menupopup[type="folder"] {
 }
 
 /**
  * Toolboxes default to overflow: visible, and we need to override that to
  * prevent the toolbox from causing its containing box (the entire content
  * area) to become wider than the viewport, which has the bad side-effect of
  * causing the _other_ children (i.e. tabmail, which contains important widgetry
  * like the message scrollbar) to be rendered out of view.
+ *
+ * As it turns out, we only need to override the mail-bar3 (at least of
+ * the toolbars we create), and we only need to override the overflow-x to
+ * fix this problem, so let's do that.  This does open us up to extension
+ * toolbars causing the same problem, but we should be able to get the
+ * authors to change their extensions to prevent this problem.
  */
-#mail-toolbox {
-  overflow: hidden;
+#mail-bar3 {
+  overflow-x: hidden;
 }
-