diff options
author | Jacques Erasmus <jerasmus@gitlab.com> | 2019-02-19 15:36:55 +0300 |
---|---|---|
committer | Marcia Ramos <marcia@gitlab.com> | 2019-02-19 15:36:55 +0300 |
commit | 20717953754b4ec317c03e2558b61bdb316d2b5e (patch) | |
tree | 5f3608b913d188f951ac4fb8d487d7818015698c /layouts/default.html | |
parent | d6772b82a90af6c40f13cf6466252e4685ebc963 (diff) |
Offset scrollspy detection
Offset scrollspy in order to highlight ToC anchor earlier
Diffstat (limited to 'layouts/default.html')
-rw-r--r-- | layouts/default.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/default.html b/layouts/default.html index ed641fde..4304d11d 100644 --- a/layouts/default.html +++ b/layouts/default.html @@ -4,7 +4,7 @@ <%= render '/head.*' %> <%= render '/canonical_urls.*' %> </head> -<body itemscope itemtype="http://schema.org/WebPage" data-spy="scroll" data-target="#doc-nav" data-offset="20"> +<body itemscope itemtype="http://schema.org/WebPage" data-spy="scroll" data-target="#doc-nav" data-offset="200"> <%= render '/gtm.*' %> <%= render '/header.*' %> <div class="wrapper"> |