mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2026-07-24 06:43:50 -04:00
Slight adjustments for back-to-top button
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user