From 51cca60914ba708a783d4bb72f1446820e5625c5 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Thu, 15 May 2008 13:50:32 -0400
Subject: [PATCH] - Fix attachment list on IE 6/7 (#1484807)

---
 skins/default/mail.css |   16 ++++++++++------
 1 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/skins/default/mail.css b/skins/default/mail.css
index f6a769d..733524a 100644
--- a/skins/default/mail.css
+++ b/skins/default/mail.css
@@ -613,16 +613,20 @@
   font-weight: bold;
 }
 
+#attachment-list-div
+{
+  background: url(images/icons/attachment.png) 60px 2px no-repeat #DFDFDF;
+}
+
 #attachment-list
 {
   margin: 0px;
-  padding: 0px 0px 0px 68px;
-  min-height: 18px;
+  padding: 0px 0px 0px 72px;
+  min-height: 16px;
   list-style-image: none;
   list-style-type: none;
-  background: url(images/icons/attachment.png) 52px 1px no-repeat #DFDFDF;
-  /* css hack for IE */
-  height: expression(Math.min(18, parseInt(document.documentElement.clientHeight))+'px');
+  /* IE6 hack */    
+  height: expression(Math.min(16, parseInt(document.documentElement.clientHeight))+'px');
 }
 
 #attachment-list:after
@@ -640,7 +644,7 @@
   float: left;
   height: 18px;
   font-size: 11px;
-  padding: 2px 10px 0px 10px;
+  padding: 2px 0px 0px 15px;
 }
 
 #attachment-list li a

--
Gitblit v1.9.1