mirror of
https://github.com/paricafe/misskey.git
synced 2024-11-24 19:56:43 -06:00
🎨
This commit is contained in:
parent
c25cf7f89a
commit
27a17b467d
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ export class StickySidebar {
|
|||
if (this.isBottom) {
|
||||
this.isBottom = false;
|
||||
const overflow = this.el.clientHeight - window.innerHeight;
|
||||
this.spacer.style.marginTop = `${scrollTop - (overflow + this.marginTop)}px`;
|
||||
this.spacer.style.marginTop = `${this.lastScrollTop - (overflow + this.marginTop)}px`;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue