mirror of
https://github.com/seejohnrun/haste-server
synced 2025-08-21 00:03:09 -07:00
Center scrolled view
This commit is contained in:
parent
2f66032b77
commit
78c7b4626d
2 changed files with 2 additions and 2 deletions
|
@ -236,7 +236,7 @@ haste.prototype.loadDocument = function(key) {
|
|||
document.getElementsByClassName("highlight")[0].scrollIntoView({
|
||||
behavior: 'auto',
|
||||
block: 'center',
|
||||
inline: 'center'
|
||||
inline: 'start'
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
2
static/application.min.js
vendored
2
static/application.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue