feat: improve hash target scroll y
This commit is contained in:
parent
0836c8576d
commit
6dae7ca6c1
@ -11,7 +11,7 @@ export default async function scrollBehavior (to) {
|
|||||||
return {
|
return {
|
||||||
selector: decodeURIComponent(to.hash),
|
selector: decodeURIComponent(to.hash),
|
||||||
offset: {
|
offset: {
|
||||||
y: 32
|
y: 120
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user