better margins
This commit is contained in:
parent
703ab6f5ee
commit
3239381447
3 changed files with 8 additions and 1 deletions
2
boot.php
2
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>';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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; }
|
||||
|
|
|
@ -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; }
|
||||
|
|
Loading…
Reference in a new issue