mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-25 09:18:51 +01:00
Don't scroll vertical
This commit is contained in:
parent
ab0472de02
commit
b479fa1f35
1 changed files with 1 additions and 0 deletions
|
@ -531,6 +531,7 @@ function Catchup() {
|
||||||
.querySelector(`[data-author="${selectedAuthor}"]`)
|
.querySelector(`[data-author="${selectedAuthor}"]`)
|
||||||
?.scrollIntoView({
|
?.scrollIntoView({
|
||||||
behavior: 'smooth',
|
behavior: 'smooth',
|
||||||
|
block: 'nearest',
|
||||||
inline: 'center',
|
inline: 'center',
|
||||||
});
|
});
|
||||||
}, 500);
|
}, 500);
|
||||||
|
|
Loading…
Reference in a new issue