From d2dc7aa36cc567bfce0210eeabba8502288125c5 Mon Sep 17 00:00:00 2001 From: Lex Lim Date: Sun, 10 Jul 2022 23:17:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E8=B0=83=E9=94=9A=E7=82=B9=E5=81=8F?= =?UTF-8?q?=E7=A7=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/ext.isekai.offcanvas-toc.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/ext.isekai.offcanvas-toc.js b/modules/ext.isekai.offcanvas-toc.js index 5745018..a5d817f 100644 --- a/modules/ext.isekai.offcanvas-toc.js +++ b/modules/ext.isekai.offcanvas-toc.js @@ -4,7 +4,7 @@ function getScrollOffset() { if (mw.config.get('skin') === 'timeless' && $(window).width() > 850) { return 60; } else { - return 0; + return 10; } } @@ -12,7 +12,7 @@ function getAnchorOffset() { if (mw.config.get('skin') === 'timeless' && $(window).width() > 850) { return 70; } else { - return 0; + return 15; } }