Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Erasmus <jerasmus@gitlab.com>2019-02-19 15:36:55 +0300
committerMarcia Ramos <marcia@gitlab.com>2019-02-19 15:36:55 +0300
commit20717953754b4ec317c03e2558b61bdb316d2b5e (patch)
tree5f3608b913d188f951ac4fb8d487d7818015698c /layouts/default.html
parentd6772b82a90af6c40f13cf6466252e4685ebc963 (diff)
Offset scrollspy detection
Offset scrollspy in order to highlight ToC anchor earlier
Diffstat (limited to 'layouts/default.html')
-rw-r--r--layouts/default.html2
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">