Feature/single package (#1)
This commit is contained in:
committed by
GitHub
parent
5963227066
commit
0b64464611
@ -1,9 +0,0 @@
|
||||
// Make scroll behavior of internal links smooth
|
||||
exports.onClientEntry = () => {
|
||||
const SmoothScroll = require('smooth-scroll');
|
||||
new SmoothScroll('a[href*="#"]', {
|
||||
offset() {
|
||||
return document.querySelector('#header').offsetHeight;
|
||||
},
|
||||
});
|
||||
};
|
Reference in New Issue
Block a user