From 281e3ed325b2e12f0023d9556f4d4e915f21c2cf Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Sun, 13 May 2007 13:29:26 -0400
Subject: [PATCH] CSS hack to display attachments correctly in IE6

---
 CHANGELOG              |    1 +
 skins/default/mail.css |    4 +++-
 2 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/CHANGELOG b/CHANGELOG
index 69005c2..66dab0e 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -5,6 +5,7 @@
 ----------
 - Updated Norwegian (bokmal), Czech, Danish and Portuguese (standard) translation
 - Fixed marking as read in preview pane (closes #1484364)
+- CSS hack to display attachments correctly in IE6
 
 
 2007/05/03 (yllar)
diff --git a/skins/default/mail.css b/skins/default/mail.css
index 67f2bbb..67ce7e6 100644
--- a/skins/default/mail.css
+++ b/skins/default/mail.css
@@ -594,7 +594,9 @@
   min-height: 18px;
   list-style-image: none;
   list-style-type: none;
-  background: url(images/icons/attachment.png) 52px 1px no-repeat #DFDFDF;�
+  background: url(images/icons/attachment.png) 52px 1px no-repeat #DFDFDF;
+  /* css hack for IE */
+  height: expression(Math.min(18, parseInt(this.clientHeight))+'px');
 }
 
 #attachment-list:after

--
Gitblit v1.9.1