better margins

This commit is contained in:
Friendika 2011-05-24 20:56:49 -07:00
parent 703ab6f5ee
commit 3239381447
3 changed files with 8 additions and 1 deletions

View file

@ -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 = ((strlen(trim($matches[4]))) ? escape_tags(trim($matches[4])) : escape_tags($matches[1]));
$title .= ' ' . $matches[2] . ' ' . t('bytes'); $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>';
} }
} }
} }

View file

@ -2430,6 +2430,10 @@ a.mail-list-link {
background-image: url('../../../images/content-types.gif'); background-image: url('../../../images/content-types.gif');
} }
.attachlink {
margin: 10px 10px 0px 0px;
}
.type-video { background-position: 0px; 0px; } .type-video { background-position: 0px; 0px; }
.type-image { background-position: -20px; 0px; } .type-image { background-position: -20px; 0px; }
.type-audio { background-position: -40px; 0px; } .type-audio { background-position: -40px; 0px; }

View file

@ -2446,6 +2446,9 @@ a.mail-list-link {
float: left; float: left;
background-image: url('../../../images/content-types.gif'); background-image: url('../../../images/content-types.gif');
} }
.attachlink {
margin: 10px 10px 0px 0px;
}
.type-video { background-position: 0px; 0px; } .type-video { background-position: 0px; 0px; }
.type-image { background-position: -20px; 0px; } .type-image { background-position: -20px; 0px; }