mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-22 14:52:41 +01:00
Select correct link in file tree
Summary: Clicking on a shielded file in file tree highlighted the previous one. Also, menu bar is not fixed anymore. Test Plan: D3355#d77999bc - `scripts/celerity_mapper.php` was highlighted. Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D3806
This commit is contained in:
parent
ddb1f181c1
commit
7ab82ed72e
2 changed files with 1 additions and 11 deletions
|
@ -12,16 +12,6 @@
|
|||
margin-top: -15px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.device-desktop .phabricator-anchor-view,
|
||||
.device-desktop .phabricator-anchor-navigation-marker {
|
||||
/* On desktops, move the anchor up more so the menu bar doesn't obscure the
|
||||
content. This is the menu bar height (44px) plus the anchor adjustment
|
||||
(15px). */
|
||||
margin-top: -59px;
|
||||
}
|
||||
|
||||
.phabricator-chromeless-page .phabricator-standard-page {
|
||||
background: transparent;
|
||||
border-width: 0px;
|
||||
|
|
|
@ -52,7 +52,7 @@ JX.behavior('phabricator-active-nav', function(config) {
|
|||
for (var ii = 0; ii < markers.length; ii++) {
|
||||
markinfo.push({
|
||||
marker: markers[ii],
|
||||
position: JX.$V(markers[ii]).y
|
||||
position: JX.$V(markers[ii]).y - 15
|
||||
});
|
||||
}
|
||||
markinfo.sort(function(u, v) { return (v.position - u.position); });
|
||||
|
|
Loading…
Reference in a new issue