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

github.com/dillonzq/LoveIt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDillon <dillonzq@outlook.com>2022-05-04 22:30:13 +0300
committerDillon <dillonzq@outlook.com>2022-05-04 22:30:13 +0300
commit7536b8b97d4bda79fd7f6223125614e91e67caba (patch)
tree469bbe69a334db9d5ab454a0a25a767b12eaf61d /src
parent66ccbe92af743604708c969f71738587121234d0 (diff)
feat: update post title style
Diffstat (limited to 'src')
-rw-r--r--src/js/theme.js7
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() {