From 7dca45e8b4aa53373b8d5a3ac390da48d08ca6d6 Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Thu, 02 Aug 2012 15:06:30 -0400
Subject: [PATCH] Fix overflow of compose attachments list in Opera and IE7 browsers

---
 skins/classic/mail.css    |    3 +--
 skins/classic/iehacks.css |   10 ++++++++++
 2 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/skins/classic/iehacks.css b/skins/classic/iehacks.css
index d09be3d..2bd3ce8 100644
--- a/skins/classic/iehacks.css
+++ b/skins/classic/iehacks.css
@@ -150,6 +150,16 @@
   height: expression((parseInt(this.parentNode.offsetHeight)-1-parseInt(document.getElementById('compose-headers').offsetHeight))+'px');
 }
 
+#compose-attachments ul li
+{
+  width: 1000px; /* for IE7 */
+}
+
+#compose-attachments li a
+{
+  float: left; /* for IE7 */
+}
+
 #messagelist
 {
   width: inherit;
diff --git a/skins/classic/mail.css b/skins/classic/mail.css
index cf7b69a..c38d744 100644
--- a/skins/classic/mail.css
+++ b/skins/classic/mail.css
@@ -1485,8 +1485,7 @@
   text-indent: -5000px;
   width: 17px;
   height: 16px;
-  display: block;
-  float: left;
+  display: inline-block;
   text-decoration: none;
 }
 

--
Gitblit v1.9.1