Commit Graph

12 Commits

Author SHA1 Message Date
Jesse Tan
0bc0969619 Concisify 2018-01-16 09:56:18 +01:00
Jesse Tan
387d4123b5 Merge branch 'master' into fix-516 2018-01-16 09:37:36 +01:00
Jesse Tan
5db94ebf5f Always call nav.enable() to make nav collapsable (#519)
Always call nav.enable() to make nav collapsing work
2017-12-20 18:50:10 -05:00
Jesse Tan
9b30e1b793 Correctly change current link in toctree if toplevel headers are on same page
Fixes #516
2017-12-19 12:47:42 +01:00
Jesse Tan
a4b8eb468d Footnote citation spacing (#488)
* Do not wrap footnotes or citations to make them responsive

* Remove margin below footnotes and citations, add margin-top to next element

* Remove margin-bottom from responsive citation and footnote wrapper

* Mark responsive wrapper if used for citation or footnote

* Document workaround for footnote and citation spacing

* Add vertical space if citation/footnote is last element in parent

This keeps correct vertical whitespace if the citation or footnote is the last element in a section.
The style rule directly above this line did not match since there is direct sibling.

* Clarify

Fixes #488
2017-12-15 23:48:25 -05:00
Jesse Tan
5c03c8da83 Add rAF polyfill 2017-12-06 12:55:20 +01:00
Jesse Tan
237289320d Remove need for bind() 2017-12-06 10:10:39 +01:00
Jesse Tan
f79285927c Debounce scroll and resize through rAF 2017-12-01 16:13:33 +01:00
Peter McDonnell
ee4d440375 Only change current if a matching link is found (#472) 2017-10-12 21:55:09 -04:00
Mathieu Agopian
afaf0dc9bd Use the closest section when clicking on a headerlink that isn't in the sidebar 2017-02-21 16:26:26 -08:00
Anthony Johnson
d01cb61473 Add check for an already running nav
Fixes #250
2015-09-23 10:55:10 -07:00
Anthony Johnson
f0863fa0eb Refactor js to exportable module 2015-09-09 00:17:10 -07:00