diff options
author | Eric Huss <eric@huss.org> | 2020-03-24 13:08:53 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-24 21:08:53 +0100 |
commit | 21a16c9b75c6ba5714fc5909a3ebd413f5906800 (patch) | |
tree | 3a37e581dad997fe881f02be2d5d90eb6fb71d4e /src/book | |
parent | 4e8e1e14083b223383061391312eb595dc479eb5 (diff) |
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>
Diffstat (limited to 'src/book')
0 files changed, 0 insertions, 0 deletions