Remove pro-white-background, re-style PHUIDocumentViewPro
Summary: This makes document views a little more automatic, and a little more style to the page. The Document itself remains on a pure white centered background, but footer and preceeding objects go back to the original body color. This provides a bit more depth and separation over content and definitions/comments.
Test Plan:
Tested Phriction, Diviner, Legalpad, Phame, Email Commands, HTTP Commands, with and without a footer.
{F1005853}
Reviewers: epriestley
Reviewed By: epriestley
Subscribers: Korvin
Differential Revision: https://secure.phabricator.com/D14582
This commit is contained in:
@@ -216,7 +216,6 @@ final class PhrictionDocumentController
|
||||
|
||||
$page_content = id(new PHUIDocumentViewPro())
|
||||
->setHeader($header)
|
||||
->setPropertyList($prop_list)
|
||||
->setToc($toc)
|
||||
->appendChild(
|
||||
array(
|
||||
@@ -229,12 +228,12 @@ final class PhrictionDocumentController
|
||||
array(
|
||||
$crumbs->render(),
|
||||
$page_content,
|
||||
$prop_list,
|
||||
$children,
|
||||
),
|
||||
array(
|
||||
'pageObjects' => array($document->getPHID()),
|
||||
'title' => $page_title,
|
||||
'class' => 'pro-white-background',
|
||||
));
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user