diff options
author | Dillon <dillonzq@outlook.com> | 2022-05-04 22:30:13 +0300 |
---|---|---|
committer | Dillon <dillonzq@outlook.com> | 2022-05-04 22:30:13 +0300 |
commit | 7536b8b97d4bda79fd7f6223125614e91e67caba (patch) | |
tree | 469bbe69a334db9d5ab454a0a25a767b12eaf61d /src | |
parent | 66ccbe92af743604708c969f71738587121234d0 (diff) |
feat: update post title style
Diffstat (limited to 'src')
-rw-r--r-- | src/js/theme.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/js/theme.js b/src/js/theme.js index 518923fb..83dcedbe 100644 --- a/src/js/theme.js +++ b/src/js/theme.js @@ -623,7 +623,12 @@ class Theme { } initSmoothScroll() { - if (SmoothScroll) new SmoothScroll('[href^="#"]', { speed: 300, speedAsDuration: true, header: '#header-desktop' }); + if (SmoothScroll) new SmoothScroll('[href^="#"]', { + speed: 300, + speedAsDuration: true, + header: '#header-desktop', + offset: 10, + }); } initCookieconsent() { |