Remove spacer from sidebars.

Summary: This removes all calls to addSpacer and the method. We were applying it inconsistently and it was causing spacing issues with redesigning the sidenav. My feeling is we can recreate the space in CSS if the design dictates, which would apply it consistently.

Test Plan: Go to Applications, click on every application.

Reviewers: epriestley, btrahan

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D4420
This commit is contained in:
Chad Little
2013-01-13 08:17:12 -08:00
parent ab9556345f
commit 38626dce64
19 changed files with 5 additions and 56 deletions

View File

@@ -73,9 +73,6 @@ final class PhabricatorSettingsMainController
$group = null;
foreach ($panels as $panel) {
if ($panel->getPanelGroup() != $group) {
if ($group !== null) {
$nav->addSpacer();
}
$group = $panel->getPanelGroup();
$nav->addLabel($group);
}