diff options
author | key-amb <yasutake.kiyoshi@gmail.com> | 2016-05-06 07:14:40 +0300 |
---|---|---|
committer | key-amb <yasutake.kiyoshi@gmail.com> | 2016-05-06 07:14:40 +0300 |
commit | 22423b24b4907083010430d87b135884a10bd8ef (patch) | |
tree | dbbc5946db3f0c984de257fef7e1c79059543186 | |
parent | 6908538ddabb3dceb498ae6615e13febc38b5de4 (diff) |
Fix sidebar start position considering navbar margin-bottom
-rw-r--r-- | static/js/bootie-docs.js | 2 |
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) |