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

github.com/progrhyme/hugo-theme-bootie-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkey-amb <yasutake.kiyoshi@gmail.com>2016-05-06 07:14:40 +0300
committerkey-amb <yasutake.kiyoshi@gmail.com>2016-05-06 07:14:40 +0300
commit22423b24b4907083010430d87b135884a10bd8ef (patch)
treedbbc5946db3f0c984de257fef7e1c79059543186
parent6908538ddabb3dceb498ae6615e13febc38b5de4 (diff)
Fix sidebar start position considering navbar margin-bottom
-rw-r--r--static/js/bootie-docs.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/static/js/bootie-docs.js b/static/js/bootie-docs.js
index af4a5c5..bea33ae 100644
--- a/static/js/bootie-docs.js
+++ b/static/js/bootie-docs.js
@@ -19,7 +19,7 @@ window.onload = function() {
if (w.scrollTop() <= scrollStart) {
sideNode.css({"position": "fixed"});
} else if (scrollStart < w.scrollTop() && w.scrollTop() < scrollStop) {
- sideNode.css({"position": "fixed", "top": headHeight + "px"});
+ sideNode.css({"position": "fixed", "top": headHeight + 20 + "px"});
} else if (w.scrollTop() >= scrollStop) {
var topNext
= headHeight - (headHeight + sideHeight)