facebook/react — pull request #539 by spicyj (2013-11-14 08:34:17+00:00)
Title: Make doc headers clickable again

...without preventing clicks on other things.

Just use an `` tag that doesn't take up any space to make sure that we're not covering up something else.

For whatever reason, doing `position: relative; top: -$navHeight;` doesn't work and causes the anchor target not to be moved up. This solution works in both Chrome and Firefox.