From 44cb96ad6f75eb4a666067c062e8618b3f35fb60 Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Thu, 12 Sep 2013 05:25:42 -0400
Subject: [PATCH] Fix attachment icon issue when rare font/language is used (#1489326)

---
 CHANGELOG              |    1 +
 skins/classic/mail.css |    1 +
 skins/larry/styles.css |    7 ++++---
 3 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/CHANGELOG b/CHANGELOG
index dbc7447..85963d8 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,6 +1,7 @@
 CHANGELOG Roundcube Webmail
 ===========================
 
+- Fix attachment icon issue when rare font/language is used (#1489326)
 - After message is sent refresh messages list of replied message folder (#1489249)
 - Add option force specified domain in user login - username_domain_forced (#1489264)
 - Fix expanded thread root message styling after refreshing messages list (#1489327)
diff --git a/skins/classic/mail.css b/skins/classic/mail.css
index b8cc9f3..f712069 100644
--- a/skins/classic/mail.css
+++ b/skins/classic/mail.css
@@ -1592,6 +1592,7 @@
 #compose-attachments ul li
 {
   height: 18px;
+  line-height: 16px;
   font-size: 11px;
   padding-left: 2px;
   padding-top: 2px;
diff --git a/skins/larry/styles.css b/skins/larry/styles.css
index d542768..4b238c1 100644
--- a/skins/larry/styles.css
+++ b/skins/larry/styles.css
@@ -2292,12 +2292,13 @@
 	display: block;
 	color: #333;
 	font-weight: bold;
-	padding: 8px 15px 3px 30px;
+	padding: 3px 15px 3px 30px;
 	text-shadow: 0px 1px 1px #fff;
 	text-decoration: none;
 	white-space: nowrap;
 	overflow: hidden;
 	text-overflow: ellipsis;
+	line-height: 20px;
 }
 
 .attachmentslist li a.drop {
@@ -2326,9 +2327,9 @@
 .attachmentslist li a.delete,
 .attachmentslist li a.cancelupload {
 	position: absolute;
-	top: 6px;
+	top: 4px;
 	right: 0;
-	width: 24px;
+	width: 20px;
 	height: 18px;
 	padding: 0;
 	text-decoration: none;

--
Gitblit v1.9.1