Skip to content

Commit

Permalink
Scale up small cover images instead of surrounding them with empty space
Browse files Browse the repository at this point in the history
Summary: This makes small cover images full-width instead of teeny tiny dots in the middle of an island of whitespace.

Test Plan: Uploaded a small cover image.

Reviewers: chad

Reviewed By: chad

Differential Revision: https://secure.phabricator.com/D15203
  • Loading branch information
epriestley committed Feb 7, 2016
1 parent 78c248d commit 4974e84
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -77,6 +77,7 @@ public function generateTransforms() {
id(new self())
->setName(pht('Workcard (526px)'))
->setKey(self::TRANSFORM_WORKCARD)
->setScaleUp(true)
->setDimensions(526, null),
);
}
Expand Down

0 comments on commit 4974e84

Please sign in to comment.