Differential D15857 Diff 38211 src/applications/differential/render/DifferentialChangesetOneUpMailRenderer.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/render/DifferentialChangesetOneUpMailRenderer.php
Show First 20 Lines • Show All 67 Lines • ▼ Show 20 Lines | foreach ($primitives as $k => $p) { | ||||
} else { | } else { | ||||
if ($p['htype']) { | if ($p['htype']) { | ||||
$style = 'background: #d0ffd0;'; | $style = 'background: #d0ffd0;'; | ||||
} else { | } else { | ||||
$style = null; | $style = null; | ||||
} | } | ||||
} | } | ||||
$style = "padding: 0 2px; {$style}"; | $style = "padding: 0 8px; margin: 0 4px; {$style}"; | ||||
$out[] = phutil_tag( | $out[] = phutil_tag( | ||||
'div', | 'div', | ||||
array( | array( | ||||
'style' => $style, | 'style' => $style, | ||||
), | ), | ||||
$p['render']); | $p['render']); | ||||
break; | break; | ||||
Show All 16 Lines |