mdBook/src/theme
Eric Huss 21a16c9b75
Scroll sidebar to middle instead of top. (#1161)
* Fix: Scroll sidebar to current active section (#1067)

* Clean: Some code related to PR #1052

* Change `scrollIntoViewIfNeeded` with `scrollIntoView`

* Don't use onload event for sidebar scroll to reduce flickering.

Co-authored-by: 李鸿章 <poodll@163.com>
2020-03-24 21:08:53 +01:00
..
css Don't highlight code spans in headers. (#1162) 2020-03-24 20:43:20 +01:00
FontAwesome Update FontAwesome version to 4.7.0 2018-10-15 20:01:36 +01:00
playpen_editor Added line numbers to editable sections of code. 2019-09-24 21:27:02 +08:00
searcher Remove 'static lifetime from static vars (#947) 2019-05-31 18:01:02 +02:00
ayu-highlight.css fix: ayu theme meta highlighting 2020-01-30 09:57:45 -06:00
book.js Scroll sidebar to middle instead of top. (#1161) 2020-03-24 21:08:53 +01:00
clipboard.min.js When the Copy button is pressed, focus is lost and scrolling the page 2019-04-23 09:29:22 +02:00
favicon.png Add default favicon.png 2016-02-22 16:59:53 +01:00
header.hbs Adding a header partial integration #453 2017-11-30 21:48:29 -08:00
highlight.css Update css to support diff syntax highlighting. (#943) 2019-06-12 16:59:55 +02:00
highlight.js Update highlight.js (#1041) 2019-09-30 00:07:54 +02:00
index.hbs Scroll sidebar to middle instead of top. (#1161) 2020-03-24 21:08:53 +01:00
mod.rs Remove 'static lifetime from static vars (#947) 2019-05-31 18:01:02 +02:00
tomorrow-night.css Update css to support diff syntax highlighting. (#943) 2019-06-12 16:59:55 +02:00