Make border conditional in crumbs
Summary: Add a setBorder call to CrumbsView to be more deliberate when a border is drawn. Could not find any CSS hacks to set it conditionally CSS. Test Plan: Browsed every application that called crumbs and make a design decision. Also fixed a few bad layouts. Reviewers: btrahan, epriestley Reviewed By: btrahan Subscribers: Korvin, epriestley Differential Revision: https://secure.phabricator.com/D11533
This commit is contained in:
@@ -442,15 +442,9 @@ final class DifferentialRevisionViewController extends DifferentialController {
|
||||
->setRequestURI($request->getRequestURI()));
|
||||
}
|
||||
|
||||
|
||||
$object_id = 'D'.$revision->getID();
|
||||
|
||||
$top_anchor = id(new PhabricatorAnchorView())
|
||||
->setAnchorName('top')
|
||||
->setNavigationMarker(true);
|
||||
|
||||
$content = array(
|
||||
$top_anchor,
|
||||
$revision_detail_box,
|
||||
$page_pane,
|
||||
);
|
||||
@@ -467,7 +461,6 @@ final class DifferentialRevisionViewController extends DifferentialController {
|
||||
false);
|
||||
|
||||
$nav = id(new DifferentialChangesetFileTreeSideNavBuilder())
|
||||
->setAnchorName('top')
|
||||
->setTitle('D'.$revision->getID())
|
||||
->setBaseURI(new PhutilURI('/D'.$revision->getID()))
|
||||
->setCollapsed((bool)$collapsed)
|
||||
|
||||
Reference in New Issue
Block a user