1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-22 20:51:10 +01:00

In HTML mail, make the text for mail stamps in mail bodies smaller and lighter

Summary: Depends on D19014. Ref T13053.

Test Plan: Used `./bin/mail show-outbound --id <id> --dump-html > out.html && open out.html` to look at HTML mail, saw smaller, lighter stamp text with better spacing.

Reviewers: amckinley

Maniphest Tasks: T13053

Differential Revision: https://secure.phabricator.com/D19015
This commit is contained in:
epriestley 2018-02-07 03:56:29 -08:00
parent 6e5df2dd71
commit 085221b0d6

View file

@ -77,7 +77,13 @@ final class PhabricatorMailTarget extends Phobject {
$html = array();
$html[] = phutil_tag('strong', array(), pht('STAMPS'));
$html[] = phutil_tag('br');
$html[] = phutil_implode_html(' ', $stamps);
$html[] = phutil_tag(
'span',
array(
'style' => 'font-size: smaller; color: #92969D',
),
phutil_implode_html(' ', $stamps));
$html[] = phutil_tag('br');
$html[] = phutil_tag('br');
$html = phutil_tag('div', array(), $html);
$html_body .= hsprintf('%s', $html);