feat: update post title style

This commit is contained in:
Dillon
2022-05-05 03:30:13 +08:00
parent 66ccbe92af
commit 7536b8b97d
4 changed files with 11 additions and 6 deletions

View File

@@ -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() {