Skip to content

Commit cc08482

Browse files
committed
Remove panel background in Phriction
Summary: For consistency, remove panel backgrounds on forms. Test Plan: Reload pages Reviewers: btrahan, epriestley Reviewed By: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D4863
1 parent bed728f commit cc08482

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

src/applications/phriction/controller/PhrictionEditController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ public function processRequest() {
226226
->setValue($submit_button));
227227

228228
$panel = id(new AphrontPanelView())
229-
->setWidth(AphrontPanelView::WIDTH_WIDE)
229+
->setNoBackground()
230230
->setHeader($panel_header)
231231
->appendChild($form);
232232

src/applications/phriction/controller/PhrictionHistoryController.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ public function processRequest() {
133133

134134
$panel = new AphrontPanelView();
135135
$panel->setHeader('Document History');
136+
$panel->setNoBackground();
136137
$panel->appendChild($table);
137138
$panel->appendChild($pager);
138139

src/applications/phriction/controller/PhrictionListController.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ public function processRequest() {
8484
$view_header = $views[$this->view];
8585

8686
$panel = new AphrontPanelView();
87+
$panel->setNoBackground();
8788
$panel->appendChild($document_table);
8889
$panel->appendChild($pager);
8990

0 commit comments

Comments
 (0)