mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-27 01:02:42 +01:00
Scale up small cover images instead of surrounding them with empty space
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
This commit is contained in:
parent
78c248d330
commit
4974e8487b
1 changed files with 1 additions and 0 deletions
|
@ -77,6 +77,7 @@ final class PhabricatorFileThumbnailTransform
|
||||||
id(new self())
|
id(new self())
|
||||||
->setName(pht('Workcard (526px)'))
|
->setName(pht('Workcard (526px)'))
|
||||||
->setKey(self::TRANSFORM_WORKCARD)
|
->setKey(self::TRANSFORM_WORKCARD)
|
||||||
|
->setScaleUp(true)
|
||||||
->setDimensions(526, null),
|
->setDimensions(526, null),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue