feat: new style fix nav

This commit is contained in:
Dillon
2019-08-22 01:22:33 +08:00
parent 87857b2002
commit a46456ef0a
6 changed files with 20 additions and 30 deletions

View File

@@ -55,7 +55,7 @@ jQuery(function($) {
_Blog._initToc = function() {
if ($('.post-toc').length && $('.post-toc').css('display') !== 'none') {
const SPACING = 20;
const SPACING = 100;
const $toc = $('.post-toc');
const $footer = $('.post-footer');
const minTop = $toc.position().top;