1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-19 05:12:41 +01:00

Apply Source Sans Font to PHUI Document Preview Skin

Summary: Fixes T5767

Test Plan: Tested Phriction, Legalpad. Edited a few documents.

Reviewers: btrahan, epriestley

Reviewed By: epriestley

Subscribers: Korvin, epriestley

Maniphest Tasks: T5767

Differential Revision: https://secure.phabricator.com/D10779
This commit is contained in:
Chad Little 2014-11-03 19:01:00 -08:00
parent cdda57e4f2
commit 0bf0449aaa

View file

@ -116,7 +116,8 @@ final class PHUIRemarkupPreviewPanel extends AphrontTagView {
switch ($this->skin) {
case 'document':
$content = id(new PHUIDocumentView())
->appendChild($content);
->appendChild($content)
->setFontKit(PHUIDocumentView::FONT_SOURCE_SANS);
break;
default:
$content = id(new PHUIBoxView())