1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-22 21:40:55 +01:00

When there are no events in a timleine, render a single spacer

Summary: Ref T2222. I accidentally changed the beahvior of this in D8229.

Test Plan: Revisions with no comments no longer with too little space between the main object box and the "Revision Update History".

Reviewers: chad, btrahan

Reviewed By: chad

CC: aran

Maniphest Tasks: T2222

Differential Revision: https://secure.phabricator.com/D8239
This commit is contained in:
epriestley 2014-02-14 14:43:17 -08:00
parent 463552ade3
commit 7a28ca847d

View file

@ -87,6 +87,8 @@ final class PHUITimelineView extends AphrontView {
if ($events) {
$events = array($spacer, $events, $spacer);
} else {
$events = array($spacer);
}
return phutil_tag(