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:
parent
463552ade3
commit
7a28ca847d
1 changed files with 2 additions and 0 deletions
|
@ -87,6 +87,8 @@ final class PHUITimelineView extends AphrontView {
|
|||
|
||||
if ($events) {
|
||||
$events = array($spacer, $events, $spacer);
|
||||
} else {
|
||||
$events = array($spacer);
|
||||
}
|
||||
|
||||
return phutil_tag(
|
||||
|
|
Loading…
Reference in a new issue