Bug 685437 - Attachment pane width in composer is not consistent; r=bwinton, ui-r=bwinton, a=Standard8
authorJim Porter <squibblyflabbetydoo@gmail.com>
Thu, 22 Sep 2011 19:57:40 -0500
changeset 8858 c1fdf33063f283f8887ed37a53715f91572fcb19
parent 8857 ab0cc674e75ece65767c1274e6c8b1ab7abaf36e
child 8859 e1882338158d11903339df2bbbef0ba4709fea1c
push idunknown
push userunknown
push dateunknown
reviewersbwinton, bwinton, Standard8
bugs685437
Bug 685437 - Attachment pane width in composer is not consistent; r=bwinton, ui-r=bwinton, a=Standard8
mail/base/content/messenger.css
mail/themes/gnomestripe/mail/compose/messengercompose.css
mail/themes/pinstripe/mail/compose/messengercompose.css
mail/themes/qute/mail/compose/messengercompose-aero.css
mail/themes/qute/mail/compose/messengercompose.css
--- a/mail/base/content/messenger.css
+++ b/mail/base/content/messenger.css
@@ -72,20 +72,16 @@ attachmentitem {
 .attachmentcell-content {
   -moz-box-orient: horizontal;
 }
 
 .attachmentcell-text {
   -moz-box-orient: horizontal;
 }
 
-attachmentitem {
-  width: 15em;
-}
-
 attachmentlist[view="large"] .attachmentcell-content {
   -moz-box-orient: horizontal;
 }
 
 attachmentlist[view="large"] .attachmentcell-text {
   -moz-box-align: start;
   -moz-box-orient: vertical;
 }
@@ -95,17 +91,21 @@ attachmentlist[view="tile"] .attachmentc
   -moz-box-orient: vertical;
 }
 
 attachmentlist[view="tile"] .attachmentcell-text {
   -moz-box-align: center;
   -moz-box-orient: vertical;
 }
 
-attachmentlist[view="tile"] > attachmentitem {
+attachmentlist[orient="horizontal"] > attachmentitem {
+  width: 15em;
+}
+
+attachmentlist[orient="horizontal"][view="tile"] > attachmentitem {
   width: 9em;
 }
 
 /* message header widgets */
 
 mail-messageid {
   -moz-binding: url("chrome://messenger/content/mailWidgets.xml#mail-messageid");
 }
--- a/mail/themes/gnomestripe/mail/compose/messengercompose.css
+++ b/mail/themes/gnomestripe/mail/compose/messengercompose.css
@@ -41,16 +41,20 @@
   == Styles for the main Messenger Compose window.
   ======================================================================= */
 
 @import url("chrome://messenger/skin/");
 @import url("chrome://global/skin/toolbar.css");
 
 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
 
+#attachmentBucket {
+  width: 15em;
+}
+
 /* ::::: primary toolbar buttons ::::: */
  
 .toolbarbutton-1 {
   -moz-box-orient: vertical;
   min-width: 0px;
 }
 
 toolbox[labelalign="end"] .toolbarbutton-1 {
--- a/mail/themes/pinstripe/mail/compose/messengercompose.css
+++ b/mail/themes/pinstripe/mail/compose/messengercompose.css
@@ -40,16 +40,20 @@
   == Styles for the main Messenger Compose window.
   ======================================================================= */
 
 @import url("chrome://messenger/skin/");
 @import url("chrome://global/skin/toolbar.css");
 
 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
 
+#attachmentBucket {
+  width: 15em;
+}
+
 /* Inactive window state */
 #compose-toolbox > toolbar:-moz-window-inactive {
   border-top-color: rgba(255,255,255,0.45);
   border-bottom-color: rgba(0,0,0,0.35);
   background-color: #cfcfcf;
 }
 
 #composeToolbar2 {
--- a/mail/themes/qute/mail/compose/messengercompose-aero.css
+++ b/mail/themes/qute/mail/compose/messengercompose-aero.css
@@ -42,16 +42,20 @@
   == Styles for the main Messenger Compose window.
   ======================================================================= */
 
 @import url("chrome://messenger/skin/");
 @import url("chrome://global/skin/toolbar.css");
 
 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
 
+#attachmentBucket {
+  width: 15em;
+}
+
 /* :::: Toolbar :::: */
 
 #compose-toolbox {
   -moz-appearance: none;
   border-top: none;
   background-color: transparent;
 }
 
--- a/mail/themes/qute/mail/compose/messengercompose.css
+++ b/mail/themes/qute/mail/compose/messengercompose.css
@@ -41,16 +41,20 @@
   == Styles for the main Messenger Compose window.
   ======================================================================= */
 
 @import url("chrome://messenger/skin/");
 @import url("chrome://global/skin/toolbar.css");
 
 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
 
+#attachmentBucket {
+  width: 15em;
+}
+
 /* ::::: primary toolbar buttons ::::: */
  
 .toolbarbutton-1 {
   -moz-box-orient: vertical;
   min-width: 0px;
 }
 
 toolbox[labelalign="end"] .toolbarbutton-1 {