dillon1000/react

Commit

Move heading anchors 50px up to avoid nav bar

Fixes #447.

We do this by moving the actual anchored element up in the page without moving the actual text. (Apple uses a similar trick in their framed docs.) Now this looks a bit sillier on smaller screens but it's better overall.
Browse files
Changed paths2 files
First-parent comparison
M docs/_css/react.scss ModifiedM docs/_plugins/header_links.rb Modified
Patch

Files changed

Rendering syntax-highlighted changes…