Browse Source

better margins

pull/1/head
Friendika 11 years ago
parent
commit
3239381447
  1. 2
      boot.php
  2. 4
      view/theme/duepuntozero/style.css
  3. 3
      view/theme/loozah/style.css

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>';
}
}
}

4
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; }

3
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; }

Loading…
Cancel
Save