From 323938144706584775794937abcb23179ee1a20b Mon Sep 17 00:00:00 2001
From: Friendika <info@friendika.com>
Date: Tue, 24 May 2011 20:56:49 -0700
Subject: [PATCH] better margins

---
 boot.php                          | 2 +-
 view/theme/duepuntozero/style.css | 4 ++++
 view/theme/loozah/style.css       | 3 +++
 3 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/boot.php b/boot.php
index 3f28edc306..7fe97a8759 100644
--- a/boot.php
+++ b/boot.php
@@ -2569,7 +2569,7 @@ function prepare_body($item,$attach = false) {
 				$title = ((strlen(trim($matches[4]))) ? escape_tags(trim($matches[4])) : escape_tags($matches[1]));
 				$title .= ' ' . $matches[2] . ' ' . t('bytes');
 
-				$s .= '<a href="' . strip_tags($matches[1]) . '" title="' . $title . '" >' . $icon . '</a>';
+				$s .= '<a href="' . strip_tags($matches[1]) . '" title="' . $title . '"  class="attachlink" >' . $icon . '</a>';
 			}
 		}
 	}
diff --git a/view/theme/duepuntozero/style.css b/view/theme/duepuntozero/style.css
index 2cfa885a90..66fef4c3ed 100644
--- a/view/theme/duepuntozero/style.css
+++ b/view/theme/duepuntozero/style.css
@@ -2430,6 +2430,10 @@ a.mail-list-link {
 	background-image: url('../../../images/content-types.gif');
 }
 
+.attachlink {
+	margin: 10px 10px 0px 0px;
+}
+
 .type-video { background-position: 0px; 0px; }
 .type-image { background-position: -20px; 0px; }
 .type-audio { background-position: -40px; 0px; }
diff --git a/view/theme/loozah/style.css b/view/theme/loozah/style.css
index 753998347c..10e252f873 100644
--- a/view/theme/loozah/style.css
+++ b/view/theme/loozah/style.css
@@ -2446,6 +2446,9 @@ a.mail-list-link {
 	float: left;
 	background-image: url('../../../images/content-types.gif');
 }
+.attachlink {
+	margin: 10px 10px 0px 0px;
+}
 
 .type-video { background-position: 0px; 0px; }
 .type-image { background-position: -20px; 0px; }
-- 
2.39.5