mirror of
https://github.com/zebrajr/react.git
synced 2025-12-07 00:20:28 +01:00
...without preventing clicks on other things. Just use an `<a name="...">` 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. |
||
|---|---|---|
| .. | ||
| header_links.rb | ||
| highlight_lines.rb | ||