mirror of
https://akkoma.dev/AkkomaGang/akkoma-fe.git
synced 2024-11-09 10:13:42 +00:00
Apply 1 suggestion(s) to 1 file(s)
This commit is contained in:
parent
9c70f3e4df
commit
e825021ef1
1 changed files with 1 additions and 1 deletions
|
@ -352,7 +352,7 @@ const Status = {
|
|||
// Post is above screen, match its top to screen top
|
||||
window.scrollBy(0, rect.top - 100)
|
||||
} else if (rect.height >= (window.innerHeight - 50)) {
|
||||
// Post we wahttp://localhost:8080/users/hj/dmsnt to see is taller than screen so match its top to screen top
|
||||
// Post we want to see is taller than screen so match its top to screen top
|
||||
window.scrollBy(0, rect.top - 100)
|
||||
} else if (rect.bottom > window.innerHeight - 50) {
|
||||
// Post is below screen, match its bottom to screen bottom
|
||||
|
|
Loading…
Reference in a new issue