Slight adjustments for back-to-top button

This commit is contained in:
squidfunk
2021-07-03 15:14:34 +02:00
parent d355e98182
commit 2bcc7f3c9d
8 changed files with 11 additions and 11 deletions

View File

@@ -152,7 +152,7 @@ export function mountBackToTop(
/* Update state */
next([{ hidden }, { height }]) {
setBackToTopOffset(el, height + 16)
setBackToTopOffset(el, height + 12)
if (hidden)
setBackToTopState(el, "hidden")
else