Differential D15864 Diff 38216 src/applications/differential/mail/DifferentialInlineCommentMailView.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/mail/DifferentialInlineCommentMailView.php
Show First 20 Lines • Show All 370 Lines • ▼ Show 20 Lines | final class DifferentialInlineCommentMailView | ||||
private function renderPatch( | private function renderPatch( | ||||
DifferentialTransactionComment $comment, | DifferentialTransactionComment $comment, | ||||
$patch, | $patch, | ||||
$is_html) { | $is_html) { | ||||
if ($is_html) { | if ($is_html) { | ||||
$style = array( | $style = array( | ||||
'font: 11px/15px "Menlo", "Consolas", "Monaco", monospace;', | 'font: 11px/15px "Menlo", "Consolas", "Monaco", monospace;', | ||||
'white-space: pre-wrap;', | |||||
'clear: both;', | |||||
epriestley: Also wondering if the `float: right;` on the "View Inline" link might be messing it up, so I… | |||||
'padding: 4px 0;', | 'padding: 4px 0;', | ||||
'margin: 0;', | 'margin: 0;', | ||||
); | ); | ||||
$style = implode(' ', $style); | $style = implode(' ', $style); | ||||
$patch = phutil_tag( | $patch = phutil_tag( | ||||
epriestleyAuthorUnsubmitted Not Done Inline ActionsThis is live now -- any better in Airmail? epriestley: This is live now -- any better in Airmail? | |||||
epriestleyAuthorUnsubmitted Not Done Inline Actions(Here's a reply comment.) epriestley: (Here's a reply comment.) | |||||
'pre', | 'div', | ||||
array( | array( | ||||
'style' => $style, | 'style' => $style, | ||||
), | ), | ||||
$patch); | $patch); | ||||
} | } | ||||
$header = $this->renderHeader($comment, $is_html, false); | $header = $this->renderHeader($comment, $is_html, false); | ||||
▲ Show 20 Lines • Show All 130 Lines • Show Last 20 Lines |
Also wondering if the float: right; on the "View Inline" link might be messing it up, so I threw this in there for good measure.