Center scrolled view

This commit is contained in:
Kenox 2022-11-03 18:45:18 +01:00
commit 78c7b4626d
2 changed files with 2 additions and 2 deletions

View file

@ -236,7 +236,7 @@ haste.prototype.loadDocument = function(key) {
document.getElementsByClassName("highlight")[0].scrollIntoView({
behavior: 'auto',
block: 'center',
inline: 'center'
inline: 'start'
});
}
}

File diff suppressed because one or more lines are too long