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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user