Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15380516
D9232.id21926.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D9232.id21926.diff
View Options
diff --git a/src/applications/dashboard/controller/PhabricatorDashboardPanelRenderController.php b/src/applications/dashboard/controller/PhabricatorDashboardPanelRenderController.php
--- a/src/applications/dashboard/controller/PhabricatorDashboardPanelRenderController.php
+++ b/src/applications/dashboard/controller/PhabricatorDashboardPanelRenderController.php
@@ -54,10 +54,14 @@
->addTextCrumb($panel->getMonogram(), '/'.$panel->getMonogram())
->addTextCrumb(pht('Standalone View'));
+ $view = id(new PHUIBoxView())
+ ->addMargin(PHUI::MARGIN_LARGE)
+ ->appendChild($rendered_panel);
+
return $this->buildApplicationPage(
array(
$crumbs,
- $rendered_panel,
+ $view,
),
array(
'title' => array(pht('Panel'), $panel->getName()),
diff --git a/src/applications/dashboard/controller/PhabricatorDashboardPanelViewController.php b/src/applications/dashboard/controller/PhabricatorDashboardPanelViewController.php
--- a/src/applications/dashboard/controller/PhabricatorDashboardPanelViewController.php
+++ b/src/applications/dashboard/controller/PhabricatorDashboardPanelViewController.php
@@ -44,12 +44,17 @@
->setParentPanelPHIDs(array())
->renderPanel();
+ $view = id(new PHUIBoxView())
+ ->addMargin(PHUI::MARGIN_LARGE_LEFT)
+ ->addMargin(PHUI::MARGIN_LARGE_RIGHT)
+ ->appendChild($rendered_panel);
+
return $this->buildApplicationPage(
array(
$crumbs,
$box,
$timeline,
- $rendered_panel,
+ $view,
),
array(
'title' => $title,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Mar 15, 3:26 AM (1 w, 1 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7475578
Default Alt Text
D9232.id21926.diff (1 KB)
Attached To
Mode
D9232: Add standard spacing around viewing panels
Attached
Detach File
Event Timeline
Log In to Comment